Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Allow brackets to be dragged by the caption bar alot easier #345

Merged
merged 2 commits into from
Oct 3, 2013

Conversation

JeffryBooher
Copy link
Contributor

@ghost ghost assigned redmunds Oct 2, 2013
::CopyRect(&dest, &rect);
::UnionRect(&dest, &rect, &itemRect);
::CopyRect(&rect, &dest);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the first ::CopyRect is necessary. It copies rect to dest, then ::UnionRect overwites the value you just put in dest. I think you can safely remove that line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@redmunds I was error-ing on the side of caution here but I think you're right. Removed.

@redmunds
Copy link
Contributor

redmunds commented Oct 3, 2013

Done with code review. Works great! One possible optimization.

@redmunds
Copy link
Contributor

redmunds commented Oct 3, 2013

Looks good. Merging.

redmunds added a commit that referenced this pull request Oct 3, 2013
Allow brackets to be dragged by the caption bar alot easier
@redmunds redmunds merged commit 85501c6 into master Oct 3, 2013
@redmunds redmunds deleted the jeff/dark-shell-fixes branch October 3, 2013 17:33
redmunds added a commit that referenced this pull request Dec 8, 2015
Allow brackets to be dragged by the caption bar alot easier
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants