You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method naming
This commit is contained in:
@@ -1652,7 +1652,7 @@ void CanvasItemEditor::_viewport_gui_input(const InputEvent& p_event) {
|
||||
Vector2 minsize = canvas_item->edit_get_minimum_size();
|
||||
|
||||
if (uniform) {
|
||||
float aspect = local_rect.size.get_aspect();
|
||||
float aspect = local_rect.size.aspect();
|
||||
switch(drag) {
|
||||
case DRAG_BOTTOM_LEFT:
|
||||
case DRAG_TOP_RIGHT: {
|
||||
|
||||
Reference in New Issue
Block a user