Fix the issues found while reviewing the engine frame

Use util::str2wstr_utf8 for the window title instead of the deprecated
codecvt conversion, choose the bar control icon with a switch, and keep
the frontend layout in sync when a frame is drawn from the refresh
callback the platform calls while it blocks the main loop.

The frame forgets its interaction state when the window mode changes or
the cursor gets locked, a bar click that only moved the window is no
longer a double click, and one frame per size is drawn per resize.

The tooltips of the two window settings were only present in the Russian
locale and under a key the settings page never asks for: they are named
display.<id>.tooltip now and translated in both locales. The version label
of the debug build moves below the bar that covers the menu screen.
This commit is contained in:
alexei-zebra 2026-10-11 20:06:11 +03:00
parent c635549892
commit fbedfad478
No known key found for this signature in database
GPG key ID: D19D450AC3D9A80E
10 changed files with 173 additions and 153 deletions

View file

@ -25,6 +25,8 @@ graphics.backlight.tooltip=Backlight to prevent total darkness
graphics.dense-render.tooltip=Enables transparency in blocks like leaves
graphics.soft-lighting.tooltip=Enables blocks soft lighting
graphics.advanced-render.tooltip=Use graphics pipeline supporting advanced effects like shadows, SSAO
display.compact-window-bar.tooltip=Window bar 24 px high instead of 48 px
display.live-resize.tooltip=Redraw the window while it is resized (off: show the last frame)
# settings
settings.Controls Search Mode=Search by attached button name

View file

@ -120,8 +120,8 @@ settings.Acoustic effects=Акустические эффекты
settings.Microphone access=Доступ к микрофону
settings.Narrow Window Bar=Узкая шапка окна
settings.Live Window Resize=Живой ресайз окна
settings.display.compact-window-bar.tooltip=Шапка окна высотой 24 px вместо 48 px
settings.display.live-resize.tooltip=Перерисовывать окно при изменении размера (выключено — показывать последний кадр)
display.compact-window-bar.tooltip=Шапка окна высотой 24 px вместо 48 px
display.live-resize.tooltip=Перерисовывать окно при изменении размера (выключено — показывать последний кадр)
# Управление
chunks.reload=Перезагрузить Чанки