-
Notifications
You must be signed in to change notification settings - Fork 362
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
New addon: show more costumes in assets list, more than one column #7312
Comments
I'm thinking of making the left of the costume editor draggable, The more you drag away the more space is there and columns can be added accordingly. (Similar to how you can drag the inspect panel in browsers) |
I actually made a userstyle for that a while ago: :root {
--default-columns: 1;
}
[class*="selector_wrapper"] {
width: auto;
justify-content: center;
}
[class*="selector_list-area"] {
width: calc(96px * var(--default-columns) + 2em);
resize: horizontal;
min-width: calc(96px + 2em);
display: grid;
align-content: start;
grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
padding: 0 1em;
padding-bottom: 140px;
gap: 1em;
overflow-x: visible;
overflow-y: scroll;
}
[class*="selector_list-area"] > div {
margin-bottom: calc(-0.5em - 1em);
min-width: 5rem;
flex-grow: 1;
}
[class*="asset-panel_wrapper"] {
position: relative;
}
[class*="selector_list-area"]::after {
content: unset;
}
[class*="selector_list-item"][class*="sprite-selector-item_sprite-selector-item"] {
width: auto;
}
[class*="selector_new-buttons"] {
width: calc(100% - 16px);
} oBqQOvVsCl.mp4 |
It moves the costume editor and other stuff away. We need to be able to clip it instead. |
That userstyle doesn't work well with |
A way to do this is to add |
Found something, you can add the width to This also resolves it being incompatible with Modified CSS::root {
--default-columns: 1;
}
[class*="asset-panel_detail-area"]::before {
content: "";
width: calc(96px + 3em);
}
[class*="selector_wrapper"] {
width: auto;
justify-content: center;
position: absolute;
height: 100%;
z-index: 2;
}
[class*="selector_list-area"] {
width: calc(96px * var(--default-columns) + 2em);
resize: horizontal;
min-width: calc(96px + 2em);
display: grid;
align-content: start;
grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
padding: 0 1em;
padding-bottom: 140px;
gap: 1em;
overflow-x: visible;
overflow-y: scroll;
}
[class*="selector_list-area"] > div {
margin-bottom: calc(-0.5em - 1em);
min-width: 5rem;
flex-grow: 1;
}
[class*="asset-panel_wrapper"] {
position: relative;
}
[class*="selector_list-area"]::after {
content: unset;
}
[class*="selector_list-item"][class*="sprite-selector-item_sprite-selector-item"] {
width: auto;
}
[class*="selector_new-buttons"] {
width: calc(100% - 16px);
} |
Why make it horizontal and not a grid? |
It is a grid, just not when it's that big and there's not enough costumes. |
The min-width doesn't seem responsive.... |
What do you mean? |
The min-width is supposed to be different on screens with different dimensions else there will be an overlay that can't be dragged to remove. |
I don't think the size of the costume bar changes based on screen size... |
Why this would be helpful
Feedback from 2024;
Feedback from 2021:
I guess this is useful for animations
How this addon works
Idea 1: show two columns instead of one, and use horizontal scrolling instead of vertical.
Idea 2: a button to hide the costume editor completely and only show the list of costumes as a grid.
Possible alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: