mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 18:04:43 -04:00
Draw Grid only over Canvas. Added PixelGrid. (#427)
* Draw grid only over the Canvas (when in tiling mode) * Replace some magic numbers with enums. It's too easy to break something when adding something new in here. Should be a little harder now. * Added Pixel Grid. - Pixel grid is shown only when it's enabled and camera is zoomed close enough. - Settings: pixel_grid_show_at_zoom (as a percentage because that's what's shown in the settings panel), pixel_grid_color. Default values might need changing. - To distinguish between grid and pixel grid default settings for grid width, grid height are changed. - Now both grid and pixel grid are drawn above (after) tile mode. Grid is drawn above (after) pixel grid.
This commit is contained in:
parent
4da4f4ebb8
commit
db9980a883
14 changed files with 239 additions and 98 deletions
|
@ -148,6 +148,9 @@ msgstr ""
|
|||
msgid "Show Grid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Pixel Grid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Rulers"
|
||||
msgstr ""
|
||||
|
||||
|
@ -816,6 +819,21 @@ msgstr ""
|
|||
msgid "A color of the grid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Pixel Grid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show at zoom:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Sets the minimal zoom at which pixel grid will be shown"
|
||||
msgstr ""
|
||||
|
||||
msgid "Pixel grid color:"
|
||||
msgstr ""
|
||||
|
||||
msgid "A color of the pixel grid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Transparency"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue