-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NewPalette #2392
NewPalette #2392
Conversation
remove any createjs code used to make palettes.
Should we continue with this old-style palette structure, or should we explore new Ideas, |
This looks great so far... Dragging from the palette works well. Can someone test on a tablet device? |
Let's get this set of changes landed and then we can revisit new ideas. |
css/activities.css
Outdated
@@ -1435,3 +1435,6 @@ input.timbreName { | |||
height: 28px; | |||
filter: invert(100%); | |||
} | |||
::-webkit-scrollbar { | |||
display: none; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
always add new line at eof.
js/palette.js
Outdated
@@ -1906,6 +1618,42 @@ function Palette(palettes, name) { | |||
this.palettes.pluginsDeleteStatus = false; | |||
this.palettes.paletteObject = null; | |||
} | |||
|
|||
let palDiv = docById("palette"); | |||
if (palDiv.children.length>1)palDiv.removeChild(palDiv.children[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(palDiv.children.length > 1)
format this
remove unused code ., add search widget
Added touch events to drag and drop .
added drag and drop for touch devices. My method for testing -- served localhost to home wifi network and used |
Check list:
|
I am seeing these erroRs with the latest commits... fails to fully loD.
|
change palette display when opening palette and initial setup
I my latest tests, I confirmed that the open palette block works. But the hide block doesn't hide the palette.
|
The MyBlocks Palette is showing up even though I have nothing in it. |
Adding/removing action and box blocks works. |
|
|
It looks like #2392 (comment) was fixed -- great! When the palette already displays all possible blocks within the screen, the down arrow appears. This may be confusing as it seems to indicate you can scroll down for more blocks. |
Oh. I had not noticed the image problem. |
10px width is causing the label to wrap in Japanese But if you increase the width, it causes the selector buttons to mis-align. |
#2385
removed any createjs code used to make palettes.
Implemented basic drag and drop(html,vanilla js) ,updating of action/box blocks ,paletteScroll
There Is still some redundant code from the previous implementation.