From 6926bfd2507d16820b27cc9fb8e42cf958dcb6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Tur=C3=A1nyi?= Date: Wed, 8 Sep 2021 16:19:58 +0200 Subject: [PATCH] fix: typo Now IsHandleMouseInputsEnabled() returns if mouse input is enabled as opposed to keyboard input. --- TextEditor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TextEditor.h b/TextEditor.h index f4d5dc2c..8f10c6a7 100644 --- a/TextEditor.h +++ b/TextEditor.h @@ -219,7 +219,7 @@ class TextEditor void SetCursorPosition(const Coordinates& aPosition); inline void SetHandleMouseInputs (bool aValue){ mHandleMouseInputs = aValue;} - inline bool IsHandleMouseInputsEnabled() const { return mHandleKeyboardInputs; } + inline bool IsHandleMouseInputsEnabled() const { return mHandleMouseInputs; } inline void SetHandleKeyboardInputs (bool aValue){ mHandleKeyboardInputs = aValue;} inline bool IsHandleKeyboardInputsEnabled() const { return mHandleKeyboardInputs; }