mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Better color for the visual grid.
This commit is contained in:
parent
181ec8f642
commit
81e959089e
@ -622,7 +622,6 @@ PaintCanvas::PaintCanvas() {
|
|||||||
add_child(tool_preview_layer_rect);
|
add_child(tool_preview_layer_rect);
|
||||||
|
|
||||||
grid = memnew(PaintVisualGrid);
|
grid = memnew(PaintVisualGrid);
|
||||||
grid->color = Color(1, 1, 1, 1);
|
|
||||||
grid->size = 4;
|
grid->size = 4;
|
||||||
grid->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);
|
grid->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);
|
||||||
add_child(grid);
|
add_child(grid);
|
||||||
|
@ -100,7 +100,7 @@ void PaintVisualGrid::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PaintVisualGrid::PaintVisualGrid() {
|
PaintVisualGrid::PaintVisualGrid() {
|
||||||
color = Color(1, 1, 1, 1);
|
color = Color(1, 1, 1, 0.42);
|
||||||
size = 16;
|
size = 16;
|
||||||
zoom = 0;
|
zoom = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user