Skip to content
Snippets Groups Projects
Commit b0259592 authored by adroitwhiz's avatar adroitwhiz
Browse files

Replace hack from #2354 with flexbox solution

The stage + target pane wrapper's width must be constrained to that of
the stage, even when there are lots of sprite tiles. Otherwise, once you
add enough sprites, it'll grow horizontally past the stage size. The old
code set its maximum width explicitly to stop that from happening, but
it can also be done more elegantly with the flex-basis property.
This also has the benefit of taking the stage border width into account.
parent 15c74d99
No related branches found
Tags 0.1.0-prerelease.20200512220043
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment