Giter Site home page Giter Site logo

Comments (12)

juh9870 avatar juh9870 commented on June 13, 2024 2

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.

SilentGamzee avatar SilentGamzee commented on June 13, 2024 1

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.

fuqunaga avatar fuqunaga commented on June 13, 2024

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.

SilentGamzee avatar SilentGamzee commented on June 13, 2024

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.

fuqunaga avatar fuqunaga commented on June 13, 2024

Thank you for the movie.

I could not reproduce it in my environment.
check2

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.

SilentGamzee avatar SilentGamzee commented on June 13, 2024

I downloaded the project from git (version 0.2.2), launched it in Unity 2021.2.8f, the problem remained

from rosettaui.

fuqunaga avatar fuqunaga commented on June 13, 2024

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.

SilentGamzee avatar SilentGamzee commented on June 13, 2024

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.

fuqunaga avatar fuqunaga commented on June 13, 2024

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.

juh9870 avatar juh9870 commented on June 13, 2024

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.

juh9870 avatar juh9870 commented on June 13, 2024

The same issue causes #4

from rosettaui.

github-actions avatar github-actions commented on June 13, 2024

πŸŽ‰ 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.