Skip to content

Disabled Blocks Pattern Colour Selection #1403

@asanzo

Description

@asanzo

Problem statement

  • Bug report
  • Feature request

Expected Behavior

It'd be nice to be able to change the colour of the pattern in the disabled blocks.

In order to be able to do something like this:

Blockly.Msg.DISABLED_BACKGROUND_HUE = 0;
Blockly.Msg.DISABLED_PATTERN_HUE = 60;

Actual Behavior

In some applications, the resultant colour of the disabled blocks makes the blocks difficult to see, or distinguish the borders and even read the labels:

seleccion_008

Steps to Reproduce

Just make a block disabled

Stack Traces

Probably the line to modify should be around here

Operating System and Browser

  • Desktop:
    • Chrome
    • Firefox
    • Safari
    • Opera
    • IE 10+
    • IE 11
    • EDGE

Reproduced in Win 7/10 and Ubuntu/Mint

Thanks in advance for any respose :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions