Skip to content

Is not an issue but a fix for the client #38

Description

@marlo096

So the issue with the main client is that when you type, if you want to delete a character, you can do that but after you delete it, the cursor resets

The fix is easy, in Client\assets\root\ui.py
change this line --> self.SetText(ime.GetText())
with this line --> TextLine.SetText(self, ime.GetText())

after that, when you move through text ( and you delete a letter, the cursor will not reset)

final structure should look like this

def OnIMEUpdate(self):
snd.PlaySound("sound/ui/type.wav")
TextLine.SetText(self, ime.GetText())

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions