Commit Graph

20 Commits (a98ce79c43e3ec55a1ace361e2cb1916b7880d8d)

Author SHA1 Message Date
Travis Evans 7dfd7dde54 Rename public `btnBorder` and `btnFace` fields to `btnBorderCol` and `btnFaceCol`, respectively 2023-09-14 16:19:45 -05:00
Travis Evans 45f07db370 Fix selected button color on Bangle.js 1 2023-09-14 15:39:50 -05:00
Travis Evans e098d0fc9e Implement separate colors for button background (face) and “actual” background (outside border) 2023-09-13 17:10:15 -05:00
Gordon Williams 25251646c0 Update minified layout after @nravanelli's PR 2023-09-13 14:01:32 +01:00
Gordon Williams 3ba8f7729e Fix layout error when there's not a h or v element as root - https://forum.espruino.com/conversations/382806/#comment16819463 2023-01-09 14:21:27 +00:00
Martin Boonk dec95eb281 layout - Allow providing a remove handler in options 2022-11-30 18:46:21 +01:00
Gordon Williams a901ad042f Layout performance improvements by keeping functions pre-parsed in RAM when needed. 2022-11-24 10:19:27 +00:00
Gordon Williams 828f9821ad Fix issue caused by minification (moving the declaration of 'var btnList/a' into an 'if' statement). Now we can use 'let' and the minifier doesn't try and do stupid things with that 2022-06-29 09:16:45 +01:00
Gordon Williams 6ad485c628 Fix issue with >1 layout button on Bangle.js 2: http://forum.espruino.com/conversations/377235/#comment16576403 2022-06-28 13:39:46 +01:00
Gordon Williams 0cc0a40356 fix layout minification issue 2022-06-10 09:19:53 +01:00
Gordon Williams d07580cc90 Add minified layout library, which should improve layout speed a lot. 2022-06-09 10:41:03 +01:00
Gordon Williams e280d192ee More speed improvements, and fix issue with minifier so we don't need .min.js 2021-09-16 11:27:52 +01:00
Gordon Williams 7a9aad93e4 Switch to object lookup for update & render code - around 20% faster 2021-09-16 10:49:14 +01:00
Gordon Williams 76b6ca0bff allow numeric fill values 2021-09-16 10:17:27 +01:00
Ben Whittaker 0c4ac74214 Optimization 2021-09-15 20:28:49 -04:00
Ben Whittaker 74e739d019 Handle bg colors correctly in lazy layout render 2021-09-15 10:13:46 -04:00
Ben Whittaker 6bd606b645 Don't use getModified in lazy layout rendering 2021-09-15 06:00:35 -04:00
Ben Whittaker 95d353a749 Add lazy rendering support to Layout 2021-09-14 20:02:09 -04:00
Gordon Williams 39a263c22d update minified layout 2021-09-03 10:31:03 +01:00
Gordon Williams 97bdf0b7d0 force use of unminified module for now 2021-08-25 17:06:06 +01:00