File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -498,17 +498,6 @@ void MainWindow::renderControlsSection()
498
498
fCurrentFragmentShader ->getStatus (),
499
499
1000 .0f / ImGui::GetIO ().Framerate ,
500
500
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
- }
512
501
}
513
502
514
503
@@ -1160,14 +1149,6 @@ void MainWindow::beforeFrame()
1160
1149
// ------------------------------------------------------------------------
1161
1150
void MainWindow::afterFrame ()
1162
1151
{
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
- }
1171
1152
Renderable::afterFrame ();
1172
1153
auto time = glfwGetTime ();
1173
1154
// check every 10s
You can’t perform that action at this time.
0 commit comments