Code Monkey home page Code Monkey logo

Comments (5)

jamsoft avatar jamsoft commented on June 15, 2024

If I try to run ThemeEditor.Desktop it also crashes as it cannot find the Deafult Theme to load.

If I try to run the Web project it also bombs as no inputs.

I have run the Nuke build too.

from colorpicker.

jamsoft avatar jamsoft commented on June 15, 2024

So to just get the demo up and running I deleted the throw new ... ... that got the demo running which doesn't seem to have the same problem as the instance in my application. So still investigating that.

If I click on the Alpha or HSV or CMYK tabs the demo app immediately bombs with:

System.InvalidCastException: 'Unable to cast object of type 'Avalonia.UnsetValueType' to type 'System.Nullable`1

If I drag the Alpha thumb to the far right and then resize the app it also bombs on throw new ArgumentException("Invalid Alpha value.");

As the alpha value being sent to the method is 100.00000000000001.

Before seeing this behaviour I had already started to think it was something to do with the translation of values from screen points to the UI/mouse position calculations. I think this screen resizing bombing is in agreement as it seems to try to update the associated values before recalculating the potential min max values during the redraw.

from colorpicker.

wieslawsoltes avatar wieslawsoltes commented on June 15, 2024

@jamsoft Can you try again master branch, I have pushed some changes

from colorpicker.

jamsoft avatar jamsoft commented on June 15, 2024

That definitely has improved things but dragging the Alpha thumb to the far right is still passing 100.000000001 and crashing things.

from colorpicker.

wieslawsoltes avatar wieslawsoltes commented on June 15, 2024

Can't do more

from colorpicker.

Related Issues (15)

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.