We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513a31f commit b2578ccCopy full SHA for b2578cc
src/rviz/default_plugin/image_display.cpp
@@ -171,15 +171,15 @@ void ImageDisplay::onDisable()
171
void ImageDisplay::toggleFullScreen()
172
{
173
auto* panel = getAssociatedWidgetPanel();
174
- if (panel->windowState() & Qt::WindowFullScreen)
+ if (panel->windowState() & Qt::WindowMaximized)
175
176
panel->setFloating(false);
177
panel->showNormal();
178
}
179
else
180
181
panel->setFloating(true);
182
- panel->showFullScreen();
+ panel->showMaximized();
183
184
185
0 commit comments