mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added hex input to colour picker
This commit is contained in:
@@ -7,11 +7,8 @@ for (var i = 1; i < mainMenuItems.length; i++) {
|
||||
var menuItem = mainMenuItems[i];
|
||||
var menuButton = menuItem.children[0];
|
||||
|
||||
console.log(mainMenuItems);
|
||||
|
||||
//when you click a main menu items button
|
||||
on('click', menuButton, function (e, button) {
|
||||
console.log('parent ', button.parentElement);
|
||||
select(button.parentElement);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user