diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-04 21:36:42 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-04 21:36:42 +0100 |
commit | 5a02a0d140f34827d653b48843944183f18eb20b (patch) | |
tree | 039829b9b1053a8a919911f85d2dabff20b60c09 /Base/res/icons/.gitignore | |
parent | 6e21d5c432eb3fb81541535d0998c8b7c0975e60 (diff) | |
download | serenity-5a02a0d140f34827d653b48843944183f18eb20b.zip |
LibGUI: Refine the per-item rects in GItemView
Previously we would consider anything in the large padded area around
each item to also be part of the item for mouse event purposes.
This didn't feel right when rubberbanding, so this patch factors out
the per-item rect computation into a get_item_rects() helper which can
then be used by the various functions that need it.
Diffstat (limited to 'Base/res/icons/.gitignore')
0 files changed, 0 insertions, 0 deletions