Add comment target back so that workspace comments can be dragged from center of comment as well as top bar.

This commit is contained in:
Karishma Chadha 2018-06-07 22:17:59 -04:00
parent 5db4c396ce
commit 18c512fce2
3 changed files with 37 additions and 15 deletions

View file

@ -651,14 +651,23 @@ Blockly.Css.CONTENT = [
'.scratchCommentBody {',
'background-color: #fef49c;',
'display: flex',
'justify-content: center;',
'align-items: center;',
'}',
'.scratchCommentRect {',
'fill: #fef49c;',
'stroke-width: 1px',
'}',
'.scratchCommentTarget {',
'fill: transparent;',
'}',
'.scratchWorkspaceCommentBorder {',
'stroke: #bcA903;',
'stroke-width: 1px;',
'}',
'.scratchCommentTargetFocused {',
'fill: none;',
'}',
'.scratchCommentTopBar {',