summaryrefslogtreecommitdiff
path: root/core/input/input_event.h
diff options
context:
space:
mode:
authorTobias Mansfield-Williams <contact@tmwhere.com>2020-04-25 13:25:00 +0200
committerTobias Mansfield-Williams <contact@tmwhere.com>2020-04-25 13:25:00 +0200
commit982efb186404c35ac954ac5e14a83231ade8f13c (patch)
tree815b985ca0be2b3c07e9fcd5bceb326da1b2ff01 /core/input/input_event.h
parent85ed2edc0685b7868813ee53d14964af9158eaf2 (diff)
Add const to InputEventMouseButton::get_factor
Diffstat (limited to 'core/input/input_event.h')
-rw-r--r--core/input/input_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_event.h b/core/input/input_event.h
index 2fdcdd0319..8774b3b1db 100644
--- a/core/input/input_event.h
+++ b/core/input/input_event.h
@@ -349,7 +349,7 @@ protected:
public:
void set_factor(float p_factor);
- float get_factor();
+ float get_factor() const;
void set_button_index(int p_index);
int get_button_index() const;