mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-19 14:19:57 +01:00
BugFix: Show Shader editor as WorkspaceWindow
This commit is contained in:
@@ -1019,7 +1019,7 @@ void ImGuiVisitor::visit (ImageFilter& f)
|
|||||||
// Open Editor
|
// Open Editor
|
||||||
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
||||||
if ( ImGui::Button( ICON_FA_CODE " Open editor", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
|
if ( ImGui::Button( ICON_FA_CODE " Open editor", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
|
||||||
Settings::application.widget.shader_editor = true;
|
UserInterface::manager().shadercontrol.setVisible(true);
|
||||||
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
||||||
ImGui::Text("Code");
|
ImGui::Text("Code");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -431,6 +431,7 @@ public:
|
|||||||
|
|
||||||
class UserInterface
|
class UserInterface
|
||||||
{
|
{
|
||||||
|
friend class ImGuiVisitor;
|
||||||
friend class Navigator;
|
friend class Navigator;
|
||||||
friend class OutputPreview;
|
friend class OutputPreview;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user