Skip to content

Commit

Permalink
Hidden controls on disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed Mar 29, 2021
1 parent 1f8c57c commit 220b40c
Show file tree
Hide file tree
Showing 5 changed files with 356 additions and 355 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### 0.4.6
* Bugfix: When there is no scene, controls hidden altogether (avoids some reported confusion on hidden controls)
* Bugfix: Reduced the margins on the controls and macro hotbar
* Bugfix: Slightly increased top shadow in Hotbar when auto-hidden
* Bugfix: Fixed missing borders on right side buttons (Should look more like vanilla Foundry on that side)
* Bugfix: Removed unnecessary color settings configuration

### 0.4.5
* Enhancement: Foundry Logo can be optionally shown in small, standard size or hidden!
* Enhancement: Foundry Logo can be used to Toggle the UI - Including or not the Chat! (Thanks QuantumFunks)
Expand Down
9 changes: 0 additions & 9 deletions lib/colorsettings/colorSetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,13 +548,6 @@ function compatLocalize(identifier, fallback) {
}

Hooks.once('init', function () {
game.settings.register("colorsettings", "showWarning", {
config: true,
type: Boolean,
default: true,
name: compatLocalize("colorSettings.showError", "Show Error"),
hint: compatLocalize("colorSettings.showErrorHint", "Enable or disable error if main module missing.")
});
/** @type {String} */
const scriptLocation = getRunningScript()();
if (!scriptLocation.includes("modules/colorsettings/") && window?.Ardittristan?.initialColorSettingRun === undefined) {
Expand Down Expand Up @@ -597,5 +590,3 @@ Hooks.once('init', function () {
registerInitVar();
registerButton();
});


Loading

0 comments on commit 220b40c

Please sign in to comment.