Files
Bubberstation/code/modules/art
SkyratBot 6ba2e3e193 [MIRROR] The Canvas UI now shows a grid while the user is painting. [MDB IGNORE] (#21441)
The Canvas UI now shows a grid while the user is painting. (#75604)

A grid is shown while the user is holding a painting tool on an editable
canvas. This is achieved by drawing empty rectangles after the filled
ones are placed whenever the canvas is updated and if requirements are
met.

It's by no mean perfect, especially since the strokeStyle is a mere
"#888888" hexcolor, the contrast may get low around colors of similar
lightness. But I don't think I've much the strength to seek out a
fancier solution to a peeve that's hardly a botherance anyway while the
canvas is still mostly white.

I've also had a maintainer suggest me to make a toggle to
disable/enable. I talked a bit how that'd be a bit more complex to
integrate but not much so frankly, although switching hands or putting
away the tool already works for that. That said, I'm willing to do it if
player feedback suggests such toggle should be integrated.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2023-05-31 22:44:02 +12:00
..