Add const to InputEventMouseButton::get_factor
(cherry picked from commit 982efb1864
)
This commit is contained in:
parent
2d9725b89d
commit
8b33b08c29
|
@ -416,7 +416,7 @@ void InputEventMouseButton::set_factor(float p_factor) {
|
|||
factor = p_factor;
|
||||
}
|
||||
|
||||
float InputEventMouseButton::get_factor() {
|
||||
float InputEventMouseButton::get_factor() const {
|
||||
|
||||
return factor;
|
||||
}
|
||||
|
|
|
@ -328,7 +328,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;
|
||||
|
|
Loading…
Reference in New Issue