mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-03 07:23:55 +00:00
Spacing
This commit is contained in:
parent
13a6791f84
commit
230524fc7a
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ export default class Button extends GuiObj {
|
|||
_bindToDom() {
|
||||
// TODO: Cleanup!
|
||||
this._div.addEventListener("mousedown", this._handleMouseDown.bind(this));
|
||||
this._div.addEventListener("click", (e) => {
|
||||
this._div.addEventListener("mousedown", (e) => {
|
||||
if (this._action) {
|
||||
UI_ROOT.dispatch(this._action);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue