Skip to content

Commit

Permalink
Ensure the menubar is long enough for the FPS counter to be shown.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arignir committed Mar 2, 2024
1 parent 6b4a0d4 commit 3362dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/windows/menubar.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ app_win_menubar_fps_counter(
struct app *app
) {
/* FPS Counter */
if (app->emulation.is_started && app->emulation.is_running) {
if (app->emulation.is_started && app->emulation.is_running && igGetWindowWidth() >= GBA_SCREEN_WIDTH * 2 * app->ui.scale) {
float spacing;
ImVec2 out;

Expand Down

0 comments on commit 3362dba

Please sign in to comment.