WIP draggable angle picker update

This commit is contained in:
Paul Kaplan 2017-08-14 17:08:21 -04:00
parent 11367eeafd
commit 5056f797d5
2 changed files with 78 additions and 26 deletions

View file

@ -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;',
'}',