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:
committed by
Adrián Insaurralde Avalos
parent
e40131d4b8
commit
fc6d4b6d0f
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user