add TODOs
This commit is contained in:
@@ -23,6 +23,7 @@ namespace ClientState {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: move to `Tiled.restoreClientAfterTiling`
|
||||
private static limitHeight(client: ClientWrapper) {
|
||||
const placementArea = Workspace.clientArea(
|
||||
ClientAreaOption.PlacementArea,
|
||||
|
||||
@@ -114,6 +114,8 @@ namespace ClientState {
|
||||
const dx = Math.round(newCenterX - oldCenterX);
|
||||
const dy = Math.round(newCenterY - oldCenterY);
|
||||
if (dx !== 0 || dy !== 0) {
|
||||
// TODO: instead of passing dx and dy, remember relative (to the parent) x and y for each
|
||||
// transient window and use them for `moveTransients` and `ensureTransientsVisible`
|
||||
client.moveTransients(dx, dy);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user