Commit e83761c7 by Christophe Geuzaine

cleanup

parent da7b5504
Pipeline #308 passed with stage
in 8 minutes 49 seconds
Showing with 2 additions and 14 deletions
......@@ -935,25 +935,13 @@ int FlGui::testArrowShortcuts()
return 1;
}
#if defined(HAVE_POPPLER)
else if(Fl::test_shortcut('u')) {
gmshPopplerWrapper::setCurrentPageDown();
drawContext::global()->draw();
drawContext::global()->draw();
return 1;
}
else if(Fl::test_shortcut('d')) {
gmshPopplerWrapper::setCurrentPageUp();
drawContext::global()->draw();
drawContext::global()->draw();
return 1;
}
else if(Fl::test_shortcut(FL_Page_Up)) {
else if(Fl::test_shortcut('u') || Fl::test_shortcut(FL_Page_Up)) {
gmshPopplerWrapper::setCurrentPageDown();
drawContext::global()->draw();
drawContext::global()->draw();
return 1;
}
else if(Fl::test_shortcut(FL_Page_Down)) {
else if(Fl::test_shortcut('d') || Fl::test_shortcut(FL_Page_Down)) {
gmshPopplerWrapper::setCurrentPageUp();
drawContext::global()->draw();
drawContext::global()->draw();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment