1
0
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:
Ivan Savenko
2023-02-02 18:42:44 +02:00
parent b1821d4442
commit cfcaf5cbb6
23 changed files with 25 additions and 25 deletions

View File

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