Add const to InputEventMouseButton::get_factor

This commit is contained in:
Tobias Mansfield-Williams
2020-04-25 13:25:00 +02:00
parent 85ed2edc06
commit 982efb1864
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;
}