Git Product home page Git Product logo

Comments (6)

timthedevguy avatar timthedevguy commented on June 9, 2024

This is a known issue, the textbox draws continuously because of the cursor. I've got some test code to help fix it but am still researching a less hackish approach. Should have something in the next few days...

from bghudappkit.

timthedevguy avatar timthedevguy commented on June 9, 2024

Ok...I can't find any way to fix this. That test code was a flop, if anyone has any ideas I'm all ears!! :)

from bghudappkit.

rjo avatar rjo commented on June 9, 2024

binarygod, i just took a look at this and it seems this is triggering the problem:
(line 199 in my revision)

[view setTextColor: [[[BGThemeManager keyedManager] themeForKey: self.themeKey] textColor]];

commenting that line out fixes the problem for me so apparently that is causing the view to think its dirty, causing a redraw and a retrigger. why is it necessary to change the view's text color?

from bghudappkit.

timthedevguy avatar timthedevguy commented on June 9, 2024

The code you are looking at is the selection code for inactive, active selections in the textfield. I'm looking into why I did it that way in the first place, I have a terrible memory, I run out of space and throw stuff away that I shouldn't :(

from bghudappkit.

timthedevguy avatar timthedevguy commented on June 9, 2024

Ok, that code was there to reset the text colors after a deselection of the text, otherwise the text that was selected stays the colors that it was while selected. Working on a solution right now!!

from bghudappkit.

timthedevguy avatar timthedevguy commented on June 9, 2024

Fixes BGHUDTextFieldCell Continuous drawing.

Thanks to rjo for pointing out the culprite code, this issue is finally fixed. Closed by 72976e3

from bghudappkit.

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.