mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Make the new UI more usable at 1x zoom.
It's no longer the default, but still an option. Not super legible is better than broken.
This commit is contained in:
1 parent
5c4fe5c5b9
commit
c8fb03327e
2 files changed
+25
No files matched your search
@@ -267,6 +267,12 @@ namespace MainWindow
|
||||
input_state.pointer_down[0] = true;
|
||||
input_state.pointer_x[0] = GET_X_LPARAM(lParam);
|
||||
input_state.pointer_y[0] = GET_Y_LPARAM(lParam);
|
||||
|
||||
if (g_Config.iWindowZoom == 1)
|
||||
{
|
||||
input_state.pointer_x[0] *= 2;
|
||||
input_state.pointer_y[0] *= 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -275,6 +281,12 @@ namespace MainWindow
|
||||
lock_guard guard(input_state.lock);
|
||||
input_state.pointer_x[0] = GET_X_LPARAM(lParam);
|
||||
input_state.pointer_y[0] = GET_Y_LPARAM(lParam);
|
||||
|
||||
if (g_Config.iWindowZoom == 1)
|
||||
{
|
||||
input_state.pointer_x[0] *= 2;
|
||||
input_state.pointer_y[0] *= 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -284,6 +296,12 @@ namespace MainWindow
|
||||
input_state.pointer_down[0] = false;
|
||||
input_state.pointer_x[0] = GET_X_LPARAM(lParam);
|
||||
input_state.pointer_y[0] = GET_Y_LPARAM(lParam);
|
||||
|
||||
if (g_Config.iWindowZoom == 1)
|
||||
{
|
||||
input_state.pointer_x[0] *= 2;
|
||||
input_state.pointer_y[0] *= 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user