added maximize panel and full screen viewer menu items

This commit is contained in:
itsmattkc
2019-02-01 02:03:05 +11:00
parent c8aec606d0
commit 0513749b9d
6 changed files with 73 additions and 14 deletions
+2 -2
View File
@@ -115,9 +115,9 @@ void update_ui(bool modified) {
panel_graph_editor->update_panel();
}
QDockWidget *get_focused_panel() {
QDockWidget *get_focused_panel(bool force_hover) {
QDockWidget* w = nullptr;
if (config.hover_focus) {
if (config.hover_focus || force_hover) {
if (panel_project->underMouse()) {
w = panel_project;
} else if (panel_effect_controls->underMouse()) {