Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream browser dialog refactoring #788

Merged
4 changes: 4 additions & 0 deletions src/ngscopeclient/PreferenceSchema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ void PreferenceManager::InitializeDefaults()
.Description("Color for icon captions"));

auto& stream = appearance.AddCategory("Stream Browser");
stream.AddPreference(
Preference::Real("instrument_badge_latch_duration", 0.4)
.Label("Intrument badge latch duration (seconds)")
.Description("Duration during which instrument badges are preserved (to prevent flashing)."));
stream.AddPreference(
Preference::Color("download_wait_badge_color", ColorFromString("#CC4C4C"))
.Label("Download wait badge color")
Expand Down
Loading