piskel icon indicating copy to clipboard operation
piskel copied to clipboard

The layer selection box does not display a scrollbar when Windows UI scale is set to 150% or higher

Open aran-gilman opened this issue 3 years ago • 0 comments

This is what the layer selection box looks like for me:

The current layer selection box, without a scrollbar.

This is what I expect it to look like (obtained by changing min-height from 85px to 100px on the toolbox container):

The expected layer selection box, with a scrollbar.

This appears to be connected to the operating system's UI scale. My device defaults to a scale of 150% for a resolution of 1920x1080. Setting the scale to 125% or lower fixes the issue with the scrollbar (at the cost of making everything on the device harder to read). Changing the resolution without changing the UI scale does not change the behavior.

Steps to reproduce the bug

  1. Go to the display settings on Windows and set the UI scale to 150% or higher.
  2. Go to piskelapp.com and create a new sprite (or select an existing sprite).
  3. Add several layers, for a total of at least 3 or 4.
  4. Note the absence of a scrollbar.

Environment details

  • operating system: Windows 10 Home
  • browser (or offline application version): Firefox 88.0.1 (64-bit)
  • resolution: 1920x1080
  • UI scale: 150%

aran-gilman avatar May 28 '21 22:05 aran-gilman