Update enum naming as discussed

This commit is contained in:
Nadia Holmquist Pedersen
2023-07-03 15:13:51 +02:00
parent 67879b1821
commit 1d3d9cd150
3 changed files with 20 additions and 20 deletions

View File

@ -1070,7 +1070,7 @@ void ScreenPanelNative::paintEvent(QPaintEvent* event)
painter.setTransform(screenTrans[i]);
painter.drawImage(screenrc, screen[screenKind[i]]);
if (i == 1 && Input::JoystickTouch.mode != Input::JoystickTouchMode::NONE)
if (i == 1 && Input::JoystickTouch.mode != Input::JoystickTouchMode::none)
{
QRect cursorRect = QRect(Input::JoyTouchX - 3, Input::JoyTouchY - 3, 5, 5);
painter.setPen(QColor::fromRgb(255, 0, 0));