Carlos
November 14th, 2020, 04:04
Summary: Reveal and hide mask bounding box colors wrong when using shift or ctrl.
Ruleset(s): Dungeons & Dragons (5E)
New Campaign / FGC Migrated Campaign: New campaign for testing.
Extensions/Themes: None.
Modules Loaded: None.
Operating System / Language Setting: Windows 10, English (United States)
Steps to Reproduce:
I say "wrong color" for the bounding box based on the FGC colors which are RED for reveal and BLUE for hide. The bounding box context color is VERY useful when you're about to reveal or hide something. Thus knowing which the operation is going to be and using a color is very useful.
Latest version: v4.0.1 ULTIMATE (2020-11-11)
Create a new map.
Enable mask.
Select "Reveal Area"
Use the mouse to reveal a square portion of the mask
Press ctrl+click and drag (FGC legacy shortcut) to hide a smaller square
Press ctrl+click and drag again (FGC legacy shortcut) to hide a smaller square
Expected behaviour:
When click and dragging the bounding box color is RED (reveal mask)
When ctrl+click is pressed the bounding box color is BLUE (hide mask)
Observed behaviour:
When click and dragging the bounding box color is RED (correct)
When ctrl+click and dragging the bounding box is RED and mask is revealed (incorrect, should hide mask)
When ctrl+click and dragging the bounding box is BLUE (color changes) and mask is revealed (incorrect, should hide mask)
Notes:
I would like ctrl+click to work again instead of having to click on "Reveal area" or "Hide area".
At the very least the "Reveal area" bounding box should ALWAYS be RED, and the "Hide area" bounding box should ALWAYS be BLUE, but not randomly switch colors.
It looks like some code is present to support ctrl+click but it doesn't work as intended (just makes the bounding box blue on the second attempt but doesn't hide area).
Ruleset(s): Dungeons & Dragons (5E)
New Campaign / FGC Migrated Campaign: New campaign for testing.
Extensions/Themes: None.
Modules Loaded: None.
Operating System / Language Setting: Windows 10, English (United States)
Steps to Reproduce:
I say "wrong color" for the bounding box based on the FGC colors which are RED for reveal and BLUE for hide. The bounding box context color is VERY useful when you're about to reveal or hide something. Thus knowing which the operation is going to be and using a color is very useful.
Latest version: v4.0.1 ULTIMATE (2020-11-11)
Create a new map.
Enable mask.
Select "Reveal Area"
Use the mouse to reveal a square portion of the mask
Press ctrl+click and drag (FGC legacy shortcut) to hide a smaller square
Press ctrl+click and drag again (FGC legacy shortcut) to hide a smaller square
Expected behaviour:
When click and dragging the bounding box color is RED (reveal mask)
When ctrl+click is pressed the bounding box color is BLUE (hide mask)
Observed behaviour:
When click and dragging the bounding box color is RED (correct)
When ctrl+click and dragging the bounding box is RED and mask is revealed (incorrect, should hide mask)
When ctrl+click and dragging the bounding box is BLUE (color changes) and mask is revealed (incorrect, should hide mask)
Notes:
I would like ctrl+click to work again instead of having to click on "Reveal area" or "Hide area".
At the very least the "Reveal area" bounding box should ALWAYS be RED, and the "Hide area" bounding box should ALWAYS be BLUE, but not randomly switch colors.
It looks like some code is present to support ctrl+click but it doesn't work as intended (just makes the bounding box blue on the second attempt but doesn't hide area).