You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Added possibility to change color of 2d editor grid
This commit is contained in:
@@ -70,7 +70,7 @@ void TextureRegionEditor::_region_draw() {
|
||||
VS::get_singleton()->canvas_item_add_set_transform(edit_draw->get_canvas_item(), Transform2D());
|
||||
|
||||
if (snap_mode == SNAP_GRID) {
|
||||
Color grid_color = get_color("grid_major_color", "Editor");
|
||||
Color grid_color = Color(1.0, 1.0, 1.0, 0.15);
|
||||
Size2 s = edit_draw->get_size();
|
||||
int last_cell = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user