aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-18 17:46:28 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-18 17:46:28 +0100
commit08d6c26b6fc06bd7fc80bc168131998f95c12551 (patch)
tree0078d6baef27a388e711544ffc306ebcab9a3b60 /src/plugins
parent4140d7a30121aca34093afe5f52da9c08951f508 (diff)
Fix video thumbnail creation
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/LocalAnime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp
index b78772d..318058b 100644
--- a/src/plugins/LocalAnime.cpp
+++ b/src/plugins/LocalAnime.cpp
@@ -30,13 +30,13 @@ namespace QuickMedia {
mgl::Rectangle watch_rect;
watch_rect.set_position({ widgets.thumbnail->position.x, widgets.thumbnail->position.y + widgets.thumbnail->size.y - rect_height });
watch_rect.set_size({ floor(widgets.thumbnail->size.x * watch_ratio), rect_height });
- watch_rect.set_color(mgl::Color(255, 0, 0, 255));
+ watch_rect.set_color(mgl::Color(150, 0, 0, 255));
render_target.draw(watch_rect);
mgl::Rectangle unwatch_rect;
unwatch_rect.set_position({ floor(widgets.thumbnail->position.x + widgets.thumbnail->size.x * watch_ratio), widgets.thumbnail->position.y + widgets.thumbnail->size.y - rect_height });
unwatch_rect.set_size({ floor(widgets.thumbnail->size.x * (1.0 - watch_ratio)), rect_height });
- unwatch_rect.set_color(mgl::Color(255, 255, 255, 255));
+ unwatch_rect.set_color(mgl::Color(150, 150, 150, 255));
render_target.draw(unwatch_rect);
}