Summary: When toolbar use ELM_TOOLBAR_SHRINK_SCROLL and toolbar viewport size is decreased rapidly, toolbar box size is not changed.
Test Plan:
elementary_test -> toolbar 2
increase window size -> decrease window size(presto) -> toolbar size is wrong
Reviewers: seoz, woohyun, jaehwan, Hermet, raster
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D1081
else
{
if (sd->vertical)
- {
- if ((vh >= mh) && (h != vh)) h = vh;
- }
+ h = (vh >= mh) ? vh : mh;
else
- {
- if ((vw >= mw) && (w != vw)) w = vw;
- }
+ w = (vw >= mw) ? vw : mw;
EINA_INLIST_FOREACH(sd->items, it)
{
if (it->selected)