Skip to content
Snippets Groups Projects
  1. Jul 31, 2019
    • Chris Garrity's avatar
      Refactor · 043e31a4
      Chris Garrity authored
      * split play-button into container and component
      * revised sound library tile:
        * play button in upper right
        * smaller sound icon (make the tile less loaded)
      043e31a4
    • Chris Garrity's avatar
      refactor to create play-button for sound items · 91f5c491
      Chris Garrity authored
      Play button doesn’t have a ‘touch-outside’ listener to stop sounds. That seems to be ok as other events cause the sound to stop.
      
      Both handleClick and handleMouseDown are needed. Must use handleMouseDown for `preventDefault` to skip setting focus on the item. handleClick is needed to prevent the Click from propagating to the item and selecting it.
      91f5c491
    • Chris Garrity's avatar
      Handle sound ending · 41cc11c3
      Chris Garrity authored
      Update UI play/stop button when the sound ends
      41cc11c3
    • Chris Garrity's avatar
      improve touch interactions · 6216e7df
      Chris Garrity authored
      Play button is larger (easier to touch). Can both start and stop sounds.
      Sound doesn’t restart on mouseEnter if the sound is already playing.
      Sound stops if you move off play button
      
      Missing: stop button does not revert to play button when the sound finishes.
      6216e7df
    • Chris Garrity's avatar
      revise styles · 8ff41a39
      Chris Garrity authored
      Checked with Carl and updated the style of the play button.
      8ff41a39
    • Chris Garrity's avatar
      Add play buttons to sound library tiles for touch · f3d1a915
      Chris Garrity authored
      Add prop to library items to show a play button. If a play button is present the ‘play on hover’ only applies over the icon rather than the full tile.
      f3d1a915
    • Eric Rosenbaum's avatar
      Update fade icons · dce65e33
      Eric Rosenbaum authored
      dce65e33
  2. Jul 25, 2019
  3. Jul 24, 2019
  4. Jul 23, 2019
  5. Jul 22, 2019
    • Eric Rosenbaum's avatar
      Remove unused prop · 3823dd06
      Eric Rosenbaum authored
      3823dd06
    • Chris Garrity's avatar
      addressing comments · 6bf9fac3
      Chris Garrity authored
      * add scratchLogo as default for logo prop
      * prefer `{featureAllowed && (<Component />)} over ternary operator with a null ‘else’
      * renamed `handleSaveToComputer` as `getSaveToComputerHandler` to more clearly represent what it’s doing (returning a function to be the handler)
      * renamed the parameter that is the function to handle clicking on the load project menu item (also updated the comments in `SBFileUploader`)
      6bf9fac3
    • Chris Garrity's avatar
      Allow customized logo · 6d482fdd
      Chris Garrity authored
      Show alternate logo if GUI is initialized with a different file.
      6d482fdd
    • Chris Garrity's avatar
      Add flags for language and file menus · 48c50692
      Chris Garrity authored
      Show or hide the language and file menus.
      48c50692
    • Chris Garrity's avatar
      Cleanup · 4e47cc87
      Chris Garrity authored
      * removed commented out cruft
      * added tabIndex prop to delete button (with default=0)
      * the last change also required a change to the sprite selector test snapshot
      4e47cc87
    • Chris Garrity's avatar
      Modify tile delete button for touch · d1e6960c
      Chris Garrity authored
      Prototype of larger delete button for sprites, costumes and sounds to better support touch devices.
      
      I split it out from `CloseButton` as it made the changes simpler, and we may end up going in a different direction (open context menu).
      d1e6960c
  6. Jul 16, 2019
  7. Jul 15, 2019
  8. Jul 09, 2019
Loading