Comments (4)
I was setting view: "list"
, with view: "text"
though it works correctly, thanks!
from tweakpane.
You can use view: 'text'
for disabling color detection:
https://tweakpane.github.io/docs/input-bindings/#color
![image](https://private-user-images.githubusercontent.com/602961/305652484-e61f2a0e-dd6e-4111-9ea8-73c3477c426b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTExMDQ2MDUsIm5iZiI6MTcxMTEwNDMwNSwicGF0aCI6Ii82MDI5NjEvMzA1NjUyNDg0LWU2MWYyYTBlLWRkNmUtNDExMS05ZWE4LTczYzM0NzdjNDI2Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMyMlQxMDQ1MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OWYxNTMzOWM3MTNhZjViYzVjY2YwMzkwMTQyNTdjZDU5ZDFmZGEzM2I1ZTliZTNmZTFjOTdmMDNmYmViYmQ0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NThsrfSkVXF17ONhOWp6S3vWj2PkaqWYRE8tobEos2o)
from tweakpane.
I tried but it doesn't work for lists.
from tweakpane.
Hm, can you share the code and the Tweakpane version? It works fine on the document with the latest Tweakpane.
![image](https://private-user-images.githubusercontent.com/602961/305653844-da81bf53-82bb-4436-8838-a7880d56dc8d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTExMDQ2MDUsIm5iZiI6MTcxMTEwNDMwNSwicGF0aCI6Ii82MDI5NjEvMzA1NjUzODQ0LWRhODFiZjUzLTgyYmItNDQzNi04ODM4LWE3ODgwZDU2ZGM4ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMyMlQxMDQ1MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMjViZmRiNzc2MGMxZTdiMDBkOTMzNGYyY2IyODZlMGUyYTQxYTA2MjA2ZWJiYmIwOThhZGE4MDE3YTBiZDQ3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.dQEbm0Yuidd2X_MFxmDzH3-8Lv90TyIDp2H33Edxvo0)
https://tweakpane.github.io/docs/
p = new Tweakpane.Pane();
// without view: 'text'
p.addBinding(
{foo: '#f00'}, 'foo',
{
options: {red: '#f00', blue: '#00f'},
}
)
// with view: 'text'
p.addBinding(
{foo: '#f00'}, 'foo',
{
view: 'text',
}
)
// with options and view: 'text'
p.addBinding(
{foo: '#f00'}, 'foo',
{
options: {red: '#f00', blue: '#00f'},
view: 'text',
}
)
from tweakpane.
Related Issues (20)
- Pointer lock when dragging.
- `view` string autocomplete. HOT 2
- How to remove event listeners? HOT 3
- color panel is displaying incorrectly HOT 4
- Bug with Tab when we have controls after the Tab HOT 2
- Cannot read properties of undefined (reading 'valueController') HOT 3
- Theme builder HOT 8
- SVGs Not Scaling Correctly HOT 4
- color as array of values 0-255 HOT 1
- [feature request] tabs: html elements in title HOT 2
- [feature request] tabs: vertical layout HOT 4
- Considering sponsorship for sustainable OSS development
- Please add a UMD library version again. HOT 5
- export folder -> import folder not working as expected HOT 3
- Numerical values passed as list of strings incorrectly treated as colors HOT 2
- support for React, Vue, Svelte, Solid, Angular, etc, by making Custom Elements
- Readonly `point2d`, `point3d`, `point4d` throws an error HOT 3
- Feat: support custom passing a custom BindingTarget
- Type problem when calling addBinding dynamically HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tweakpane.