chore(display): display ID should count from 1
This commit is contained in:
parent
89e9dd33c7
commit
c4062500f9
2 changed files with 2 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ impl<'a, Message: Clone> Widget<Message, cosmic::Theme, Renderer> for Arrangemen
|
|||
core::text::Renderer::fill_text(
|
||||
renderer,
|
||||
core::Text {
|
||||
content: itoa::Buffer::new().format(id).to_string(),
|
||||
content: itoa::Buffer::new().format(id + 1).to_string(),
|
||||
size: core::Pixels(24.0),
|
||||
line_height: core::text::LineHeight::Relative(1.2),
|
||||
font: cosmic::font::bold(),
|
||||
|
|
|
|||
|
|
@ -733,7 +733,7 @@ impl Page {
|
|||
self.active_display = output_id;
|
||||
self.config.refresh_rate = None;
|
||||
self.config.resolution = None;
|
||||
self.config.vrr = dbg!(output.adaptive_sync);
|
||||
self.config.vrr = output.adaptive_sync;
|
||||
self.config.scale = (output.scale * 100.0) as u32;
|
||||
|
||||
self.cache.modes.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue