Dim the Navigation Cube when not active

Implement the InactiveOpacity option, allowing the user to dim the
navigation cube when not focused by making it transparent.
This commit is contained in:
LemonBoy
2024-01-29 11:49:24 +01:00
committed by Adrián Insaurralde Avalos
parent e40131d4b8
commit fc6d4b6d0f
6 changed files with 77 additions and 12 deletions

View File

@@ -96,6 +96,7 @@ void DlgSettingsNavigation::saveSettings()
ui->naviCubeToNearest->onSave();
ui->prefCubeSize->onSave();
ui->naviCubeBaseColor->onSave();
ui->naviCubeInactiveOpacity->onSave();
bool showNaviCube = ui->groupBoxNaviCube->isChecked();
hGrp->SetBool("ShowNaviCube", showNaviCube);
@@ -141,6 +142,7 @@ void DlgSettingsNavigation::loadSettings()
ui->naviCubeToNearest->onRestore();
ui->prefCubeSize->onRestore();
ui->naviCubeBaseColor->onRestore();
ui->naviCubeInactiveOpacity->onRestore();
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View");