Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix SetColumnOffset() subtracting a bool value instead of scrollbar width - #142

#142
Merged
ocornut merged 1 commit into
ocornut:masterocornut/imgui:masterfrom
unpacklo:masterunpacklo/imgui:masterCopy head branch name to clipboard
Feb 23, 2015
Merged

Fix SetColumnOffset() subtracting a bool value instead of scrollbar width#142
ocornut merged 1 commit into
ocornut:masterocornut/imgui:masterfrom
unpacklo:masterunpacklo/imgui:masterCopy head branch name to clipboard

Conversation

@unpacklo

Copy link
Copy Markdown

Saw the new commits and version you pushed out. I noticed a regression when I updated my programs with it, where clicking on column borders to resize would cause them to quickly move to the left, even if I didn't move the mouse.

Looked at the code real quick and noticed something a little fishy when x values were subtracted with something referencing y, and then noticed it was also a bool. Switched it back to g.Style.ScrollBarWidth and things seemed to get back to normal!

ocornut added a commit that referenced this pull request Feb 23, 2015
Fix SetColumnOffset() subtracting a bool value instead of scrollbar width
@ocornut
ocornut merged commit fd6d669 into ocornut:master Feb 23, 2015
@ocornut

ocornut commented Feb 23, 2015

Copy link
Copy Markdown
Owner

Thanks!
Bad one :( was fiddling around back and worth and code completion probably got me once. Would need a more thorough testing process at some point.

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

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.