mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
renamed keyDown -> keyPressed
This commit is contained in:
@@ -778,7 +778,7 @@ void CSlider::wheelScrolled(bool down, bool in)
|
||||
moveTo(value + 3 * (down ? +scrollStep : -scrollStep));
|
||||
}
|
||||
|
||||
void CSlider::keyDown(const SDL_Keycode & key)
|
||||
void CSlider::keyPressed(const SDL_Keycode & key)
|
||||
{
|
||||
int moveDest = value;
|
||||
switch(key)
|
||||
|
||||
Reference in New Issue
Block a user