Added new improvements
This commit is contained in:
parent
3250003eb3
commit
565cf7d541
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user