Skip to content

Commit ab8ee98

Browse files
committed
Sh-x and Firefox Listeners fix
1 parent 985aaed commit ab8ee98

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

css/custom-hotbar.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ div.chbSettings input[type="Number"] {
179179
text-align: center;
180180
border: black 1px;
181181
float: left;
182-
margin-right:0.5em;
182+
margin-right: 0.75em;
183183
}
184184

185185
div.chbSettings div.colorsplash {
@@ -190,4 +190,10 @@ div.chbSettings div.colorsplash {
190190
padding-bottom: 0.4em;
191191
border: black 1px;
192192
border-radius: 0.5em;
193-
}
193+
}
194+
195+
span.custom-macro-key {
196+
z-index: 2;
197+
}
198+
199+
/* Make H1 and H2 less ridon1kulous */

custom-hotbar-settings-form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ export class CustomHotbarSettingsForm extends FormApplication {
7979
super.activateListeners(html);
8080
html.find('button[name="reset"]').click(this.onReset.bind(this));
8181
this.reset = false;
82+
//add on(input) thingie here
8283
}
8384
}

custom-hotbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class CustomHotbar extends Hotbar {
252252
/** @override */
253253

254254
activateListeners(html) {
255-
event.preventDefault();
255+
//event.preventDefault();
256256
super.activateListeners(html);
257257
html.find('#custom-bar-toggle').click(this._onToggleBar.bind(this));
258258
// Disable pages for now, will just work with first page.
@@ -314,7 +314,7 @@ export class CustomHotbar extends Hotbar {
314314
*/
315315
async _onClickMacro(event) {
316316
console.debug("custom macro click detected!");
317-
317+
318318
event.preventDefault();
319319
const li = event.currentTarget;
320320

0 commit comments

Comments
 (0)