This website works better with JavaScript.
Home
Explore
Help
Sign In
ObsidianBlk
/
nespaint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
CTRLPalettes now emits a global 'active_palette_color' event when a palette color button is clicked.
dev-tmpl
Bryan Miller
5 years ago
parent
4f7d9d494e
commit
432fc157ad
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
app/js/ctrls/CTRLPalettes.js
+ 1
- 1
app/js/ctrls/CTRLPalettes.js
View File
@@ -131,7 +131,7 @@ class CTRLPalettes{
}
this.classList.add(CLASS_BTN_ACTIVE);
self.__activePaletteEl = this;
//self.emit("active_palette_color",
i);
GlobalEvents.emit("active_palette_color", i.pi, i.c
i);
}
}
}
Write
Preview
Loading…
Cancel
Save