mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-02-25 07:01:04 +00:00
ui: more bugfixes
This commit is contained in:
parent
717b0d2cd6
commit
8bf5eba479
3 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="LSPaneMain" parent="AdwNavigationPage">
|
||||
<property name="title">lsfg-vk Configuration Menu</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<!-- Header -->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="LSPaneSidebar" parent="AdwNavigationPage">
|
||||
<property name="title">Profiles</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<!-- Header -->
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ pub fn register_signals(sidebar_: &pane::PaneSidebar, main: pane::PaneMain) {
|
|||
if let Ok(mut state) = state.write() {
|
||||
multiplier.number.set_value(conf.multiplier.into());
|
||||
flow_scale.slider.set_value(Into::<f64>::into(conf.flow_scale) * 100.0);
|
||||
performance_mode.switch.set_state(conf.performance_mode);
|
||||
hdr_mode.switch.set_state(conf.hdr_mode);
|
||||
performance_mode.switch.set_active(conf.performance_mode);
|
||||
hdr_mode.switch.set_active(conf.hdr_mode);
|
||||
experimental_present_mode.dropdown.set_selected(conf.experimental_present_mode.into());
|
||||
|
||||
// update state
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue