From f7ae74dd9b49bdff8fafa931807db21fc31a02a9 Mon Sep 17 00:00:00 2001 From: alisagerasimova Date: Sun, 15 Mar 2026 14:35:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BC=D0=B0=D0=BB=D0=B5=D0=BD=D1=8C=D0=BA=D1=83?= =?UTF-8?q?=D1=8E=20=D0=BE=D0=BF=D0=B5=D1=87=D0=B0=D1=82=D0=BA=D1=83=20?= =?UTF-8?q?=D0=B2=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=B5=20=D0=BE?= =?UTF-8?q?=D0=BF=D1=80=D0=B5=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D1=86=D0=B2=D0=B5=D1=82=D0=B0=20=D0=B8=20=D0=B8=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=BB=D0=B0=20=D1=88=D0=B8=D1=80=D0=B8=D0=BD?= =?UTF-8?q?=D1=83=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D0=B8=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D0=B3=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/shablons/color.txt | 2 +- src/components/MyDropMenu.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/shablons/color.txt b/public/shablons/color.txt index b61e0f9..71cdb2c 100644 --- a/public/shablons/color.txt +++ b/public/shablons/color.txt @@ -34,7 +34,7 @@ def color_detection(data, print_type='str'): color = 'green' elif r > b + 20 and r > g + 20 and r > 100: color = 'red' - elif r > 150 and g > 150 and g > 150: + elif r > 150 and g > 150 and b > 150: color= 'white' else: color = None diff --git a/src/components/MyDropMenu.vue b/src/components/MyDropMenu.vue index 9f5fec6..d848f09 100644 --- a/src/components/MyDropMenu.vue +++ b/src/components/MyDropMenu.vue @@ -183,7 +183,7 @@ h1 { position: fixed; top: 0; left: 0; - width: 300px; + width: 240px; height: 100%; background: white; z-index: 1000;