ui: more bugfixes

This commit is contained in:
PancakeTAS 2025-07-24 02:45:24 +02:00 committed by Pancake
parent 717b0d2cd6
commit 8bf5eba479
3 changed files with 4 additions and 2 deletions

View file

@ -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 -->

View file

@ -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 -->

View file

@ -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