Skip to content

Commit 7285c83

Browse files
committed
removed test code
1 parent 06db313 commit 7285c83

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/cpp/MainWindow.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -498,17 +498,6 @@ void MainWindow::renderControlsSection()
498498
fCurrentFragmentShader->getStatus(),
499499
1000.0f / ImGui::GetIO().Framerate,
500500
ImGui::GetIO().Framerate);
501-
502-
if(ImGui::Button("Test Dialog"))
503-
{
504-
newDialog("test")
505-
.content([] {
506-
static std::string s;
507-
ImGui::SetNextItemShortcut(ImGuiMod_Ctrl | ImGuiKey_V, ImGuiInputFlags_None);
508-
ImGui::InputText("test_string", &s);
509-
})
510-
.buttonOk();
511-
}
512501
}
513502

514503

@@ -1160,14 +1149,6 @@ void MainWindow::beforeFrame()
11601149
//------------------------------------------------------------------------
11611150
void MainWindow::afterFrame()
11621151
{
1163-
if(!fClipboardString)
1164-
{
1165-
if(ImGui::GetIO().KeyCtrl && ImGui::IsKeyPressed(ImGuiKey_V))
1166-
{
1167-
printf("detected global paste\n");
1168-
emscripten::glfw3::GetClipboardString();
1169-
}
1170-
}
11711152
Renderable::afterFrame();
11721153
auto time = glfwGetTime();
11731154
// check every 10s

0 commit comments

Comments
 (0)