repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Peformance tweaking, new library builds
[SugarCubes.git]
/
_UIFramework.pde
diff --git
a/_UIFramework.pde
b/_UIFramework.pde
index 0e0be79c005c08fd3750c5b9795070270de008d7..ec590fef863e733c3b1fe335241d8ce43e60b544 100644
(file)
--- a/
_UIFramework.pde
+++ b/
_UIFramework.pde
@@
-703,7
+703,7
@@
public class UIScrollList extends UIObject {
itemColor = #707070;
}
float factor = even ? .92 : 1.08;
- itemColor =
color(hue(itemColor), saturation(itemColor), min(100, factor*brightness(itemColor))
);
+ itemColor =
lx.scaleBrightness(itemColor, factor
);
pg.noStroke();
pg.fill(itemColor);