-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input Box Carrot Rendering Issues #15
Comments
Here's where the location to display the carrot is calculated at: https://github.com/SneakyTactician/MagicalLife/blob/master/MagicalLifeGUIWindows/Rendering/GUI/GUIRenderer.cs |
{X:0 Y:0} first is where the carrot starts off, 2nd is after typing. Changing the following values did not change anything with how the carrot works: Vector2 pos = new Vector2(textbox.DrawingBounds.Center.X, textbox.DrawingBounds.Center.Y); The only location I could get the carrot to move initially was: but it would stay that way even after typing (so changing the X would keep it X distance away the entire time typing). Continuing to work on this. |
Yeah, it's a tough one. I tried to fix it a month ago, and got nowhere. |
The carrot of input boxes displays incorrectly until it is clicked on for the first time. It bugs me, and I don't even have OCD. The carrot should be centered, like after the input box is clicked on.
The text was updated successfully, but these errors were encountered: