mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
WIP draggable angle picker update
This commit is contained in:
parent
11367eeafd
commit
5056f797d5
2 changed files with 78 additions and 26 deletions
33
core/css.js
33
core/css.js
|
@ -624,25 +624,40 @@ Blockly.Css.CONTENT = [
|
|||
'}',
|
||||
|
||||
'.blocklyAngleCircle {',
|
||||
'stroke: #444;',
|
||||
'stroke: ' + Blockly.Colours.motion.tertiary + ';',
|
||||
'stroke-width: 1;',
|
||||
'fill: #ddd;',
|
||||
'fill-opacity: .8;',
|
||||
'fill: ' + Blockly.Colours.motion.secondary + ';',
|
||||
'}',
|
||||
|
||||
'.blocklyAngleMarks {',
|
||||
'stroke: #444;',
|
||||
'.blocklyAngleCenterPoint {',
|
||||
'stroke: #fff;',
|
||||
'stroke-width: 1;',
|
||||
'fill: #fff;',
|
||||
'}',
|
||||
|
||||
'.blocklyAngleDragHandle {',
|
||||
'stroke: #fff;',
|
||||
'stroke-width: 5;',
|
||||
'stroke-opacity: 0.25;',
|
||||
'fill: #fff;',
|
||||
'cursor: pointer;',
|
||||
'}',
|
||||
|
||||
|
||||
'.blocklyAngleMarks {',
|
||||
'stroke: #fff;',
|
||||
'stroke-width: 1;',
|
||||
'stroke-opacity: 0.5;',
|
||||
'}',
|
||||
|
||||
'.blocklyAngleGauge {',
|
||||
'fill: #f88;',
|
||||
'fill-opacity: .8;',
|
||||
'fill: #fff;',
|
||||
'fill-opacity: 0.20;',
|
||||
'}',
|
||||
|
||||
'.blocklyAngleLine {',
|
||||
'stroke: #f00;',
|
||||
'stroke-width: 2;',
|
||||
'stroke: #fff;',
|
||||
'stroke-width: 1;',
|
||||
'stroke-linecap: round;',
|
||||
'pointer-events: none;',
|
||||
'}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue