mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Update CSS rules for cursor. (#3627)
This commit is contained in:
@@ -340,6 +340,10 @@ Blockly.Css.CONTENT = [
|
||||
'z-index: 20;',
|
||||
'}',
|
||||
|
||||
'.blocklyText text {',
|
||||
'cursor: default;',
|
||||
'}',
|
||||
|
||||
/*
|
||||
Don't allow users to select text. It gets annoying when trying to
|
||||
drag a block and selected text moves instead.
|
||||
|
||||
@@ -1041,7 +1041,6 @@ Blockly.blockRendering.ConstantProvider.prototype.getCSS_ = function(name) {
|
||||
/* eslint-disable indent */
|
||||
// Fields.
|
||||
selector + ' .blocklyText {',
|
||||
'cursor: default;',
|
||||
'fill: #fff;',
|
||||
'font-family: ' + this.FIELD_TEXT_FONTFAMILY + ';',
|
||||
'font-size: ' + this.FIELD_TEXT_FONTSIZE + 'pt;',
|
||||
|
||||
@@ -855,7 +855,6 @@ Blockly.zelos.ConstantProvider.prototype.getCSS_ = function(name) {
|
||||
/* eslint-disable indent */
|
||||
// Fields.
|
||||
selector + ' .blocklyText {',
|
||||
'cursor: default;',
|
||||
'fill: #fff;',
|
||||
'font-family: ' + this.FIELD_TEXT_FONTFAMILY + ';',
|
||||
'font-size: ' + this.FIELD_TEXT_FONTSIZE + 'pt;',
|
||||
|
||||
Reference in New Issue
Block a user