use an icon smaller than the surface if possible
This commit is contained in:
parent
0b466d7136
commit
29d030cc3e
1 changed files with 3 additions and 3 deletions
|
@ -1237,9 +1237,9 @@ const Icon *Client::icon(const otk::Size &s) const
|
||||||
li = i;
|
li = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (smallest == 0xffffffff) // didnt find one bigger than us...
|
if (largest == 0) // didnt find one smaller than the requested size
|
||||||
return &_icons[li];
|
return &_icons[si];
|
||||||
return &_icons[si];
|
return &_icons[li];
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::move(int x, int y)
|
void Client::move(int x, int y)
|
||||||
|
|
Loading…
Reference in a new issue