Merge pull request #38199 from t-mw/t-mw-patch-1

Add const to InputEventMouseButton::get_factor
This commit is contained in:
Rémi Verschelde 2020-04-27 10:00:45 +02:00 committed by GitHub
commit 7f15a9c7a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;