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;