Skip to content

Consider border-radius when clipping and picking

Georges Basile Stavracas Neto requested to merge gbsneto/rounded-stuff into master

When there is border-radius values applied to a given widget, the simple rectangle test that is in place is not enough for pick, and a simple rectangle clip is wrong as well.

Consider border-radius values when picking and clipping. When picking, border-radius are checked even if overflow is visible so that picked widget is always correct.

Edited by Georges Basile Stavracas Neto

Merge request reports