Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonrt committed Dec 8, 2021
1 parent 2cb04df commit 5782170
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/application/SvelteApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,13 @@ export class SvelteApplication extends Application
}

/**
* Modified Application `setPosition` to support QuestTrackerApp for switchable resizable globalThis.
* Set the application position and store its new location.
* Modified Application `setPosition` which changes a few aspects from the default {@link Application.setPosition}.
* The gate on `popOut` is removed, so if manually called popOut applications can use `setPosition`. There are
* two new options `noHeight` and `noWidth` that respect `width` & `height` style options while still producing
* a correct position object in return.
*
* TODO: evaluate if the `noHeight` / `noWidth` options are necessary and if we can intuit this from the computed
* styles. I gather these extra options can be set automatically.
*
* @param {object} [opts] - Optional parameters.
*
Expand Down

0 comments on commit 5782170

Please sign in to comment.