Add const to InputEventMouseButton::get_factor
This commit is contained in:
parent
85ed2edc06
commit
982efb1864
|
@ -477,7 +477,7 @@ void InputEventMouseButton::set_factor(float p_factor) {
|
|||
factor = p_factor;
|
||||
}
|
||||
|
||||
float InputEventMouseButton::get_factor() {
|
||||
float InputEventMouseButton::get_factor() const {
|
||||
|
||||
return factor;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue