Skip to content
Snippets Groups Projects
  1. Jun 25, 2020
  2. Jun 24, 2020
  3. Jun 23, 2020
  4. Jun 22, 2020
  5. Jun 19, 2020
    • adroitwhiz's avatar
      Replace Stage <div> with React.Fragment · 99c29178
      adroitwhiz authored
      The Stage component will sometimes have a color picker background,
      which darkens the entire screen when the color picker loupe is active.
      This color picker background element should appear in the same level as
      the stage's wrapper, not inside of it. Previously, this was done by
      wrapping both the stage's wrapper and color picker background in a div.
      Now, they're both wrapped in a React.Fragment to avoid a completely
      unnecessary div wrapper.
      99c29178
    • adroitwhiz's avatar
      Change how stage overlays & fullscreen are handled · 63d67c87
      adroitwhiz authored
      This makes the layout behavior for stage overlays much more consistent.
      
      Items whose overflow *should* be contained within the stage, like the
      monitors and color picker loupe, are now placed within the "stage"
      element directly.
      
      Items whose overflow should *not* be contained within the stage, like
      the target highlight box and dragged sprite, are now inside a "stage
      overlays" container element, which is properly positioned (taking into
      account the stage's border width) and sized.
      
      This is made possible by unifying stage layout across both fullscreen &
      non-fullscreen modes via moving the fullscreen overlay styles to the
      StageWrapper component. Whereas previously, the stage overlays were
      positioned *outside* of the stage in fullscreen and had to reposition
      themselves correctly, they are now positioned the same in both
      fullscreen and regular modes.
      63d67c87
    • adroitwhiz's avatar
      Replace hack from #2354 with flexbox solution · b0259592
      adroitwhiz authored
      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.
      b0259592
    • adroitwhiz's avatar
      Remove isStarted prop from GreenFlagOverlay · 15c74d99
      adroitwhiz authored
      Since #3885, the GreenFlagOverlay has been hidden by the Stage component
      instead of having to hide itself if the project has been started. Thus
      there's no need for GreenFlagOverlay to know whether the project has
      been started.
      15c74d99
    • adroitwhiz's avatar
  6. Jun 18, 2020
  7. Jun 17, 2020
Loading