gonfunko / scratch-blocks

Scratch Blocks is a library for building creative computing interfaces.
https://scratch.mit.edu/developers
Apache License 2.0
1 stars 0 forks source link

Resolve angle picker skew #63

Closed gonfunko closed 1 month ago

gonfunko commented 5 months ago

Our angle picker lacks the background color in the dropdown, extra padding, and arrow icon from Scratch. It also continuously follows the mouse, whereas the Scratch implementation requires clicking and dragging the arrow icon to change the angle. Screenshot 2024-05-06 at 2 45 06 PM Screenshot 2024-05-06 at 2 45 11 PM

gonfunko commented 5 months ago

The edge spacing and size of the tick marks also varies.

BeksOmega commented 1 month ago

For future ref: I think this is going to require a custom field to fix the tick marks, arrow, and the input interaction.

gonfunko commented 1 month ago

For future ref: I think this is going to require a custom field to fix the tick marks, arrow, and the input interaction.

Yeah, I think this is basically just modernizing the existing core/field_angle.js

BeksOmega commented 1 month ago

Also related to https://github.com/gonfunko/scratch-blocks/issues/101

cwillisf commented 1 month ago

I can double-check with other folks at Scratch, but my initial take here is: