fix(wm): dynamically reserve monitor ring space

This commit makes a small change to dynamically keep reserving space in
the VecDeque that backs Ring<Monitor> until an index preference can be
contained within the current length.

This commit also fixes some clippy lints and adds some allow
annotations.
This commit is contained in:
LGUG2Z
2024-05-23 16:58:52 -07:00
parent e46a0757e3
commit 340c137342
6 changed files with 14 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
#![allow(clippy::assigning_clones)]
use eframe::egui;
use eframe::egui::color_picker::Alpha;
use eframe::egui::Color32;