Skip to content

Commit

Permalink
only move window from title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Nov 19, 2023
1 parent 2275df4 commit 056fc36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ void Player::initGui() {

ImGuiIO &io = ImGui::GetIO();
io.IniFilename = nullptr;
io.ConfigWindowsMoveFromTitleBarOnly = true;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
if (config->Data.Interface.Docking) io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
if (config->Data.Interface.Viewports) io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
Expand Down

0 comments on commit 056fc36

Please sign in to comment.