Comments (12)
I've figured out this issue. The cause is that StringToValue
method uses EditorGUI.StringToDouble
, which in turn uses double.TryParse
without specifying explicit culture, so if default system culture formats floats not like 9.5, but for example 9,5 it bugs out
from rosettaui.
Later, when I finish the tasks for my project, I will try to find the causes of this problem and fix it locally. I'll post here if I find a solution.
from rosettaui.
Is it the action of dragging a label?
It is UIToolkit's FloatField and behaves similarly to the Unity Inspector.
You can also change the step width by holding down Shift/Ctrl.
Thank you for your reportπ
from rosettaui.
Example. I increase the float
value to the right, but the value does not become more than 0.2f. Looks weird and uncomfortable.
Is this a UIToolkit problem? Everything is fine with int
fields
https://user-images.githubusercontent.com/25285476/169289915-68ea6be9-a9b6-468a-868c-32fcd9be1d37.mp4
from rosettaui.
Thank you for the movie.
I could not reproduce it in my environment.
I don't know the cause of the problem, so I need some information.
If possible, please try the latest version (RosettaUI 0.2.2) or another environment.
If you always have the same problem, please send me a sample project and I will try to reproduce it.
from rosettaui.
I downloaded the project from git (version 0.2.2), launched it in Unity 2021.2.8f, the problem remained
from rosettaui.
Try a different PC or OS if possible.
I tried it on my M1 Macbook Air and the UIToolkit dragging did not work correctly (but it seems not the same issue).
It worked correctly on Windows.
from rosettaui.
I made a build (version 0.2.2. Unity version 2021.2.8f), tried to run it on two more PCs, the bug remained. Tried only Windows
from rosettaui.
I'm sorry, but I can't figure out what's causing this.
If you have any information to reproduce it on my end, please let me know.
from rosettaui.
I have the same issueI have the same issue
I was going through all the examples one by one, and first noticed this at MethodExample
, came back to older ones and error is still here
https://user-images.githubusercontent.com/15922601/192898528-cae4756f-d170-4fe3-bad1-9e40636f9440.mp4
from rosettaui.
The same issue causes #4
from rosettaui.
π This issue has been resolved in version ga.fuquna.rosettaui.uitoolkit-v1.0.1 π
The release is available on:
Your semantic-release bot π¦π
from rosettaui.
Related Issues (20)
- Can't input decimal numbers. HOT 1
- Dragging windows tank performance HOT 3
- Question about updates HOT 1
- List dragging performance issue
- Question: faster listview? HOT 8
- Circular reference detection is too aggressive HOT 5
- Circular detection fails with arrays
- Extreme lag with array in nested layouts HOT 1
- Request: LazyFold element
- Request: event-based DynamicElement
- Support Uniyt2022
- Compilation Error using this package HOT 1
- .NetFramework4.x is not supported HOT 1
- UI.Slider() and UI.MinMaxSlider() supports PropertyAttribute
- need a runtime timeline component
- Attribute-based custom UI generation like PropertyDrawer
- Unity 2023.2 compatibility
- ScrollView that expands to fit the Window size
- S changes when V is edited in the color picker
- Wrong behavior in ValueChangedCallback when value is changed by +- button in list view
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 rosettaui.