Added new improvements

This commit is contained in:
Robert Vokac 2024-02-11 14:06:06 +00:00
parent 3250003eb3
commit 565cf7d541
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
2 changed files with 3 additions and 3 deletions

View File

@ -212,7 +212,7 @@ public class Battery extends Widget {
{
Color currentColor = brush.getColor();
brush.setColor(
visibility.isStronglyColored() || mouseOver ? HIGH_HIGHLIGHTED : (visibility.isWeaklyColored() ? HIGH : Color.lightGray));
visibility.isStronglyColored() ? HIGH_HIGHLIGHTED : (visibility.isWeaklyColored() ? HIGH : Color.lightGray));
double angleDouble = donePercent * 360;
@ -221,7 +221,7 @@ public class Battery extends Widget {
totalHeight / 4 * 3 + 28,
15, 15, 90, -(int) angleDouble);
brush.setColor(
visibility.isStronglyColored() || mouseOver ? LIGHT_RED :
visibility.isStronglyColored() ? LIGHT_RED :
visibility.isWeaklyColored() ? ULTRA_LIGHT_RED : BACKGROUND_COLOR);
brush.fillArc(((int) (totalWidth * 0.45)) + 15,
totalHeight / 4 * 3 + 28,

View File

@ -8,7 +8,7 @@ visibility.only-grey-or-none.enabled=false
jokes.enabled=true
commands.enabled=true
toasts.enabled=true
smileys.colored=true
smileys.colored=false
#todo
smileys.enabled=true