feat: respect accent colors in more places in desktop
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "desktop_internal.hpp"
|
||||
#include <gui/mtk/theme.hpp>
|
||||
|
||||
// ============================================================================
|
||||
// Lock Screen Drawing
|
||||
@@ -304,7 +305,7 @@ void gui::desktop_compose(DesktopState* ds) {
|
||||
Rect item_r = {cmx + 4, iy, CTX_MENU_W - 8, CTX_ITEM_H};
|
||||
|
||||
if (item_r.contains(mmx, mmy)) {
|
||||
fill_rounded_rect(fb, item_r.x, item_r.y, item_r.w, item_r.h, 4, colors::MENU_HOVER);
|
||||
fill_rounded_rect(fb, item_r.x, item_r.y, item_r.w, item_r.h, 4, gui::mtk::accent_hover_tint(ds->settings.accent_color));
|
||||
}
|
||||
|
||||
int icon_x = item_r.x + 8;
|
||||
|
||||
Reference in New Issue
Block a user