Skip to content

Commit

Permalink
Removed extra space in changelog, updated README, undone handle searc…
Browse files Browse the repository at this point in the history
…h anywhere compatibility
  • Loading branch information
saif-ellafi committed Apr 26, 2021
1 parent 811b080 commit dda01db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
### 0.8.4
* Enhancement: Minimize+ Setting "Right Click" on a minimized window gives them border color
* Enhancement: Minimize+ Setting "Right Click" colours a minimized window to find it quickly later
* Enhancement: Minimize+ Setting Mouse over minimized windows gives them shadow color
* Compatibility: Search Anywhere "hand" now hidden in Organized Minimize mode when minimized
* Bugfix: Organized Minimize returns windows to their original position when restored/maximized
* Bugfix: Organized Minimize removed unwanted movement when moving windows along the axis
* Bugfix: Sub controls menu adjusted to avoid unwanted shaking animation


### 0.8.3
* Compatibility: Monks Scene Navigation thanks to a contribution from ironmonk88
* Bugfix: Disabled scene preview animation for better compatibility and less strange behaviour
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ without having to manually hide unwanted elements.
### Organized Minimize (Default: OFF)
Intelligently positions minimized windows in a dedicated horizontal area, and
allows displaying a taskbar for it. This helps to find minimized windows quickly.
Organized Minimize+ Setting allows colouring minimized windows to find them quicker

## Foundry Logo
* Custom logo image can be provided
Expand Down
4 changes: 1 addition & 3 deletions modules/feature/minimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default class MinimalUIMinimize {
static enrichStyling(app) {
app.element.find(".close").text('');
app.element.find(".close").append(`<a class="header-button close"><i class="fas fa-times"></i></a>`);
app.element.find(".window-draggable-handle").hide();
if (game.settings.get('minimal-ui', 'enrichedMinimize') === 'enabled') {
const header = app.element.find(".window-header");
header.on('contextmenu', function () {
Expand All @@ -84,7 +83,6 @@ export default class MinimalUIMinimize {
static unenrichStyling(app) {
app.element.find(".close").text('');
app.element.find(".close").append(`<i class="fas fa-times"></i>Close`);
app.element.find(".window-draggable-handle").show();
if (game.settings.get('minimal-ui', 'enrichedMinimize') === 'enabled') {
app.element.find(".window-header").removeClass('minimized-pinned');
app.element.find(".window-header").off();
Expand Down Expand Up @@ -181,7 +179,7 @@ export default class MinimalUIMinimize {
const minimizedSetting = game.settings.get('minimal-ui', 'organizedMinimize');
const minimizedStash = Object.values(MinimalUIMinimize.minimizedStash);
const matchedStash = minimizedStash.find(a => a.app.appId === this?.appId);
this.setPosition({left: matchedStash.oldLeft});
this.setPosition({left: matchedStash.oldLeft ?? this.position.left});
if (['bottomBar', 'topBar'].includes(minimizedSetting))
MinimalUIMinimize.cleanupMinimizeBar(this);
MinimalUIMinimize.unenrichStyling(this);
Expand Down

0 comments on commit dda01db

Please sign in to comment.