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:
parent
6e483710f0
commit
f24ded088b
@ -1332,9 +1332,7 @@ svg {
|
||||
}
|
||||
|
||||
input {
|
||||
width:50px;
|
||||
right:0;
|
||||
position:absolute;
|
||||
width:60px;
|
||||
}
|
||||
|
||||
div {
|
||||
|
@ -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);
|
||||
});
|
||||
|
||||
|
@ -118,7 +118,6 @@ function resizeSprite(event, ratio) {
|
||||
|
||||
// event is null when the user is undoing
|
||||
if (event != null) {
|
||||
console.log("AO SALVO LA CRONOLOGIA");
|
||||
// Copying the image data
|
||||
imageDatasCopy = rsImageDatas.slice();
|
||||
// Saving the history
|
||||
|
@ -63,12 +63,4 @@ you've always been familiar with.
|
||||
That's all for this update! Hope you have fun with this new release :) </br>
|
||||
- <a href="https://github.com/unsettledgames">Unsettled</a>
|
||||
</br></br>
|
||||
P.S.: we're always looking for contributors! Join the <a href="https://discord.com/invite/QjsgTQM">Lospec discord</a> to get in touch!
|
||||
|
||||
|
||||
<!--
|
||||
TODO:
|
||||
- Fix sprite scaling input bug (when a parameter is changed, the other one isn't)
|
||||
- Redo problem, the canvas contents aren't copied correctly
|
||||
- Add hex input to colour picker
|
||||
-->
|
||||
P.S.: we're always looking for contributors! Join the <a href="https://discord.com/invite/QjsgTQM">Lospec discord</a> to get in touch!
|
Loading…
Reference in New Issue
Block a user