mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename Transform2D "elements" to "columns"
This commit is contained in:
parent
81139c94a8
commit
b831fb0a54
44 changed files with 410 additions and 407 deletions
|
|
@ -3675,7 +3675,7 @@ void CanvasItemEditor::_draw_viewport() {
|
|||
// Update the transform
|
||||
transform = Transform2D();
|
||||
transform.scale_basis(Size2(zoom, zoom));
|
||||
transform.elements[2] = -view_offset * zoom;
|
||||
transform.columns[2] = -view_offset * zoom;
|
||||
EditorNode::get_singleton()->get_scene_root()->set_global_canvas_transform(transform);
|
||||
|
||||
// hide/show buttons depending on the selection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue