Consistent control-point drag area

Really a NO-OP since PK_RADIUS is 4.5
This commit is contained in:
Robin Gareus 2019-08-17 02:06:32 +02:00
parent 02af656bbb
commit b4ad21b84e
No known key found for this signature in database
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -2059,7 +2059,7 @@ static int find_control_point (Fil4UI* ui, const int x, const int y) {
return Ctrl_Tuning;
}
if (x > 30 && fabs (y - (ui->m0_y1 + PK_YOFFS + PK_WHITE / 2)) < PK_RADIUS) {
if (x > 30 && fabs (y - (ui->m0_y1 + PK_YOFFS + PK_WHITE / 2)) <= PK_RADIUS) {
for (int i = 0; i < NCTRL; ++i) {
if (!robtk_cbtn_get_active (ui->btn_enable[i])) {
continue;