Skip to content
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

new unity ui seems broke a bit rex #25

Closed
friuns2 opened this issue Feb 4, 2020 · 4 comments
Closed

new unity ui seems broke a bit rex #25

friuns2 opened this issue Feb 4, 2020 · 4 comments

Comments

@friuns2
Copy link

friuns2 commented Feb 4, 2020

image

@SugoiDev
Copy link
Contributor

SugoiDev commented Feb 5, 2020

Changing this line

var rect = new Rect(1, i * lineHeigth, intelliRect.width, intelliRect.height);

To this:

var rect = new Rect(1, i * lineHeigth, intelliRect.width, lineHeigth);

Might solve that.

I use a heavily modified ReX, but I think I fixed that issue a while ago with that change.

@friuns2
Copy link
Author

friuns2 commented Feb 5, 2020

Thanks it worked!

@thorgeirk11
Copy link
Owner

thorgeirk11 commented Feb 5, 2020

@SugoiDev I would love to get a pull request 😄
I have not had any time to work on this extension ☹️

@SugoiDev
Copy link
Contributor

SugoiDev commented Feb 6, 2020

@thorgeirk11 Oh, of course! I'll submit one for this change later today.

(Thanks for all your work. REX is pretty cool and useful!)

SugoiDev added a commit to SugoiDev/REX-Diagnostics that referenced this issue Feb 6, 2020
The rect for entries in the IntelliSense help pane were using height `intelliRect.height` instead of `lineHeigth`. 
In newer Unity versions, that made the entries display weirdly, as can be seen in thorgeirk11#25
This commit fixes that.
This was referenced Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants