Giter Site home page Giter Site logo

Comments (3)

justalemon avatar justalemon commented on July 29, 2024 1

manually disable controls, because NativeUI breaks Rockstar Editor recording when it disables controls

With that comment, I have a couple of ideas in my mind and I'm probably going to end up implementing all of them to provide flexibility:

  • Adding the ControlDisablingEnabled property (probably going to call it just DisableControls)
  • A list on a property that will keep some controls enabled, as required by the mod developer (RequiredControls)
  • Keep the Rockstar Editor controls enabled as normal (probably going to need your help with this one)

from lemonui.

justalemon avatar justalemon commented on July 29, 2024 1

Done!

Feel free to check the linked commits for more information.

from lemonui.

Jitnaught avatar Jitnaught commented on July 29, 2024

Keep the Rockstar Editor controls enabled as normal (probably going to need your help with this one)

The only way I could fix it for NativeUI is to use a blacklist for controls instead of a whitelist. Same as LemonUI, NativeUI disables all controls then re-enables some of them. When the Rockstar Editor controls are disabled (i.e. when all controls are disabled) recording gets cancelled. So I had to instead only disable the controls I wanted to.

You can see my blacklist here: https://gitlab.com/Jitnaught/ropecreator-gta5/-/blob/master/RopeCreator/Menu.cs#L13

from lemonui.

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.