mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
This commit is contained in:
@@ -496,7 +496,7 @@ void EditorProfiler::_graph_tex_input(const Ref<InputEvent> &p_ev) {
|
||||
(mb.is_valid() && mb->get_button_index() == BUTTON_LEFT && mb->is_pressed()) ||
|
||||
(mm.is_valid())) {
|
||||
|
||||
int x = me->get_pos().x;
|
||||
int x = me->get_position().x;
|
||||
x = x * frame_metrics.size() / graph->get_size().width;
|
||||
|
||||
bool show_hover = x >= 0 && x < frame_metrics.size();
|
||||
|
||||
Reference in New Issue
Block a user