1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Implemented scaling of hardware cursor

This commit is contained in:
Ivan Savenko
2024-10-01 19:40:12 +00:00
parent 42adc9d394
commit 58d13fdce5
4 changed files with 21 additions and 5 deletions

View File

@@ -312,3 +312,8 @@ void CursorHandler::changeCursor(Cursor::ShowType newShowType)
break;
}
}
void CursorHandler::onScreenResize()
{
cursor->setImage(getCurrentImage(), getPivotOffset());
}