Skip to content

Commit 7fa9e66

Browse files
authored
Merge pull request #100 from Norc/beta
Beta to master
2 parents cb5c3cf + e5e6cd2 commit 7fa9e66

File tree

6 files changed

+40
-71
lines changed

6 files changed

+40
-71
lines changed

CHANGELOG.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
## COMING VERY SOON!: Version 2.1.0 (2021/04/xx)
2-
Long overdue bugfix and minor feature improvement in preparation for 0.8.x upgrade.
1+
## Version 2.1.0 (2021/05/20)
2+
0.8.x update, a few new features, and misc bugfixes
3+
* Updates Custom Hotbar for Foundry 0.8.x release branch while maintaining backwards compatibility.
4+
* NEW FEATURE: Ability for users to disable their own custom hotbar entirely if they don't want it (and core hotbar too, because why not?)
5+
* NEW FEATURE: keybinding library for a high level of keybinding customization and reliability improvements.
6+
* Adds color settings library as an official dependency to assist with hotbar customization
7+
* Portuguese translation (sorry about the delay rinnocenti!!)
8+
* Changed hotbar coloration to match core foundry (#0000FF60 is the "classic blue" if you want to change back)
9+
* Firefox compatibility improvements
10+
* Module is now less talkative in console log
11+
* Many miscellaneous bugfixes (see changelog).
312

413
## Version 2.0.6 (2020/10/21)
5-
Marked as compatibile with 0.7.5 after successful testing.
6-
The weird duplicate custom hotbar issue mysteriously fixed itself in 0.7.5
7-
Fixed Shift-number keybind (thanks Nihilistkitten and everyone else for the investigation)
8-
Updated ColorSettings Library by moving to the stub solution.
14+
* Marked as compatibile with 0.7.5 after successful testing.
15+
* The weird duplicate custom hotbar issue mysteriously fixed itself in 0.7.5
16+
* Fixed Shift-number keybind (thanks Nihilistkitten and everyone else for the investigation)
17+
* Updated ColorSettings Library by moving to the stub solution.
918

1019
## Version 2.0.5 (2020/07/27)
1120
Fixed Z index issue introduced in v2.0.3 that was preventing the right-click context menu of the core Foundry hotbar from being on top of the Custom Hotbar. My attempted fix for the same issue in 2.0.4 was not actually present in the release due to versioning issues. Oops.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,15 @@ Foundry VTT module to add an extra, fully functional macro hotbar above the core
33

44
![Image of custom hotbar](https://i.imgur.com/L9QwR9u.png)
55

6-
Module compatibility is a primary goal of Custom Hotbar, and is compatible with all known modules, including Minor Quality of Life, Better Rolls, The Furnace, Macro Marker, and especially [Stan's Token Hotbar module](https://github.com/janssen-io/foundry-token-hotbar). We encourage you to try the two modules together:
7-
8-
<img src="https://github.com/janssen-io/foundry-token-hotbar/blob/master/img/thb-custom-hotbar.gif" width="40%" height = "40%">)
6+
Module and system compatibility is a primary goal of Custom Hotbar. If Custom Hotbar isn't compatible with a module or system that you think it should be, please let me know as a GitHub issue or ping me on Discord (Norc#5108).
97

10-
The Custom Hotbar can now be repositioned and recolored as needed, and the same control is also granted over the core Foundry hotbar:
8+
The Custom Hotbar now matches the core Foundry hotbar styling by default, but it can now be repositioned and recolored as needed, and the same control is also granted over the core Foundry hotbar:
119

1210
![Image of customized hotbar](https://imgur.com/EKSjoYf.png)
1311

14-
Lastly, additional keybinds are also available: **Shift-Number** to run a macro on the custom hotbar, and **Ctrl-Shift-1 through 5** to change the core Foundry Hotbar page
12+
Additionally, players (or GMs I guess!) can disable either hotbar entirely if they don't want it for themselves.
1513

16-
If you encounter an issue or have a suggestion for a feature not currently on the roadmap, please let me know on Discord (Norc#5108) or log an issue here on GitHub.
17-
18-
### Special Thanks
19-
Special thanks to Ardistristan for his excellent Lib - Color Settings Module and extraordinary support as I implemented it! Further thanks to Stan for his continued support and to the awesome Foundry modding community as a whole.
14+
Lastly, additional keybinds are also available: **Shift-Number** to run a macro on the custom hotbar, and **Ctrl-Shift-1 through 5** to change the core Foundry Hotbar page
2015

2116
## Installation
2217
* **Manifest**: Use this manifest link to install the module (https://raw.githubusercontent.com/Norc/foundry-custom-hotbar/master/module.json)
@@ -35,20 +30,25 @@ Special thanks to Ardistristan for his excellent Lib - Color Settings Module and
3530

3631
<img src="https://github.com/janssen-io/foundry-token-hotbar/blob/master/img/thb-custom-hotbar.gif" width="40%" height = "40%">)
3732
1. Broad compatibility:
38-
1. Closely mimics built-in methods to allow modules like Minor Quality of Life and Better Rolls to use the Custom Hotbar without specific support
33+
1. Closely mimics built-in methods to allow modules like Midi QoL and Better Rolls to use the Custom Hotbar without specific support
3934
1. Does not interfere with the operation of the original Macro Hotbar
4035

4136
## Changelog
4237
See the [changelog.](https://github.com/Norc/foundry-custom-hotbar/blob/dev/CHANGELOG.md)
4338

4439
## Roadmap:
45-
_Next release (minor cleanup):_
46-
1. Basic settings for keyboard shortcuts
47-
2. More minor features and bugfixes that didn't make it into 2.0.
40+
_Next releases (minor cleanup):_
41+
1. Ongoing bug/stability/module compat cleanup for 0.8.x as needed.
4842

4943
_Next major version:_
5044
1. Add ability to create multiple Custom Hotbars, not just one
5145

5246
_Potential Future Features (Undecided)_
5347
1. Add option to popout hotbars for positioning by dragging and dropping
5448
1. Add pages 2-4 or more for each Custom Hotbar.
49+
50+
### Special Thanks
51+
Special thanks to Ardistristan for his excellent Lib - Color Settings Module and extraordinary support as I implemented it! Thanks to DF (flamewave000) for the Library: DF Hotkeys library. Both of these libraries do a better job than I *ever* could.
52+
53+
Further thanks to Stan of Token Hotbar fame for everything he's done and to the awesome Foundry modding community as a whole.
54+

css/custom-hotbar.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,4 +298,9 @@ div#keyHintDiv > p {
298298

299299
div#keyHintDiv > div> input {
300300
display:none;
301+
}
302+
303+
div.chbSettings > div.colorsplash > input {
304+
background-color: white;
305+
border: 1px solid black;
301306
}

lib/colorsettings/colorSettingStub.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

module.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"title": "Custom Hotbar",
44
"description": "An extra fully functional hotbar (currently 1 row only) above the first.",
55
"author": "Norc",
6-
"version": "2.0.6",
7-
"minimumCoreVersion": "0.6.5",
8-
"compatibleCoreVersion":"0.7.9",
6+
"version": "2.1.0",
7+
"minimumCoreVersion": "0.7.9",
8+
"compatibleCoreVersion":"0.8.4",
99
"esmodules": [
1010
"index.js"
1111
, "./lib/colorsettings/colorSettingStub.js"
@@ -25,7 +25,7 @@
2525
"styles": [
2626
"./css/custom-hotbar.css"
2727
],
28-
"manifest": "https://raw.githubusercontent.com/Norc/foundry-custom-hotbar/master/module.json",
29-
"download": "https://github.com/Norc/foundry-custom-hotbar/archive/v2.0.6.zip",
28+
"manifest": "https://raw.githubusercontent.com/Norc/foundry-custom-hotbar/beta/module.json",
29+
"download": "https://github.com/Norc/foundry-custom-hotbar/archive/v2.1.0-beta.zip",
3030
"url": "https://github.com/Norc/foundry-custom-hotbar"
3131
}

scripts/custom-hotbar-debug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const customHotbarDebug = true;
1+
const customHotbarDebug = false;
22

33
export function CHBDebug(message) {
44
if (customHotbarDebug) {
55
console.debug(message);
66
}
7-
}
7+
}

0 commit comments

Comments
 (0)