Make KeyEvent objects equal even if they have differing isAutoRepeat values

This commit is contained in:
Ryan Huffman 2015-02-25 10:28:45 -08:00
parent 880c8f370f
commit 660d9ad499

View file

@ -121,8 +121,7 @@ bool KeyEvent::operator==(const KeyEvent& other) const {
&& other.isControl == isControl
&& other.isMeta == isMeta
&& other.isAlt == isAlt
&& other.isKeypad == isKeypad
&& other.isAutoRepeat == isAutoRepeat;
&& other.isKeypad == isKeypad;
}