mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-23 20:49:00 -06:00
Merge with latest master
This commit is contained in:
@@ -121,7 +121,8 @@ void CefWebGuiModule::startOrStopGui() {
|
||||
_instance->setZoom(_guiScale);
|
||||
|
||||
webBrowserModule->addBrowser(_instance.get());
|
||||
} else if (_instance) {
|
||||
}
|
||||
else if (_instance) {
|
||||
_instance->close(true);
|
||||
webBrowserModule->removeBrowser(_instance.get());
|
||||
webBrowserModule->detachEventHandler();
|
||||
@@ -176,7 +177,8 @@ void CefWebGuiModule::internalInitialize(const ghoul::Dictionary& configuration)
|
||||
|
||||
if (_visible && _instance) {
|
||||
webBrowserModule->attachEventHandler(_instance.get());
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
webBrowserModule->detachEventHandler();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user