29.81kb, 8.51kb gzipped
- Improved TypeScript defintions:
gui.add
&addColor
ensure that the property exists on the target object. (#146) - Fixed an issue where
step()
did not work as expected when min or max was not divisible by step. (#142) - Folder headers now use the
<button>
element. (#137)
29.87kb, 8.51kb gzipped
- Fixed an issue where stepped number controllers emitted extraneous
onChange
events. - Spellcheck is now disabled for string controllers.
name()
andtitle()
will no longer render DOM elements if passed an HTML string.
29.80kb, 8.49kb gzipped
- Fixed a CSS regression in Firefox for Android. (#122)
29.77kb, 8.48kb gzipped
- Calling
options()
on an option controller will no longer create a new controller at the end of the GUI. - Checkboxes can now be toggled by clicking their label.
- Added
exports
field to package.json. - Removed unused CSS.
30.06kb, 8.51kb gzipped
- Fixed a bug that caused decimals to be rendered with commas in certain locales.
- Fixed a bug where
new GUI({ touchStyles: false })
did not apply to folders. - Fixed a bug where the
.force-touch-styles
class did not apply to folders. - Fixed a bug that captured key events after clicking a folder header.
- Fixed a bug where number controllers ignored the numpad enter key.
29.89kb, 8.47kb gzipped
- Fixed errors in TypeScript definitions. (#93)
29.89kb, 8.47kb gzipped
- Added
gui.onOpenClose()
, which allows you to observe when a folder is opened or closed. - Passing
{ closeFolders: true }
to GUI's constructor will close folders by default. - Function controllers will now fire their
onChange
handler after a button press. - CSS: Moved
--title-height
declaration from.title
to.lil-gui
. - Improved compatibility with tree shaking bundlers.
29.53kb, 8.38kb gzipped
- Added
decimals()
to number controllers for limiting display precision. (#44) - Added
show()
andhide()
to controllers. (#60) - Fixed a bug where typing in a number field did not respect
step
. (#63) - Improved touch-scrolling for scrollable GUI's with many sliders.
29.21kb, 8.33kb gzipped
- Improved performance for GUI's that make heavy use of
listen()
. (#36) - Eliminated console warnings about passive event listeners. (#42)
29.05kb, 8.28kb gzipped
- Added
gui.show()
andhide()
.
29.07kb, 8.26kb gzipped
- Typing in the GUI will no longer trigger global key listeners. (#27)
- Fixed a bug that caused sliders to disappear when outside of min/max. (#21)
- Improved compression for the minified stylesheet. (#26)
- CSS fixes for Safari.
29.04kb, 8.31kb gzipped
- Added
gui.onFinishChange
for symmetry withgui.onChange
. - Added a
d.ts
file for TypeScript users. - Fixed a bug that stopped iOS users from typing negative numbers. (#16)
- Minor CSS fixes.
28.56kb, 8.24kb gzipped
- Added support for
onFinishChange
. - The error message when
gui.add
fails is easier to read. gui.load
ignores empty objects instead of failing.- Fixed a bug that caused mouse wheels to change values too slowly.
- Reverted
listen()
fix from 0.11.0. (Note)
28.11kb, 8.24kb gzipped
- Added support for dragging number fields vertically.
- Fixed a bug that stopped you from entering decimals in number fields on mobile.
- Fixed a bug that stopped screen readers from reading names in
BooleanController
. - Removed unused CSS and JS.
28.12kb, 8.17kb gzipped
- Added
controllers
andfolders
array toGUI
. - Added
controllersRecursive
andfoldersRecursive
methods toGUI
. - Fixed a bug that allowed disabled controllers to be focused via keyboard.
- Fixed a bug that caused controllers to lose interactivity after calling
listen()
. - Removed
getControllers()
andgetFolders()
.
27.44kb, 8.04kb gzipped
- Restored hover effects for all widgets.
- Remove
import/export
in favor ofsave/load
, which respects folder hierarchy and prevents name collisions between folders. - Remove automatic docking styles for mobile.