mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
GUI: don't allow tutorial window to be docked
This commit is contained in:
parent
eacfbd6e3e
commit
787479e735
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void FurnaceGUI::drawTutorial() {
|
|||
|
||||
// tutorial
|
||||
if (curTutorial>=0 && curTutorial<GUI_TUTORIAL_MAX) {
|
||||
if (ImGui::Begin("Tutorial",NULL,ImGuiWindowFlags_NoResize|ImGuiWindowFlags_AlwaysAutoResize|ImGuiWindowFlags_NoTitleBar)) {
|
||||
if (ImGui::Begin("Tutorial",NULL,ImGuiWindowFlags_NoResize|ImGuiWindowFlags_AlwaysAutoResize|ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_NoDocking)) {
|
||||
FurnaceGUITutorialStep& step=tutorials[curTutorial].steps[curTutorialStep];
|
||||
ImGui::Dummy(ImVec2(400.0*dpiScale,1.0));
|
||||
ImGui::TextWrapped("%s",step.text);
|
||||
|
|
Loading…
Reference in a new issue