~onli/simdock/master

« back to all changes in this revision

Viewing changes to src/tasks.cc

  • Committer: onli
  • Date: 2014-07-03 21:19:33 UTC
  • Revision ID: git-v1:6e7d6f18d10690bb25eb263175c2121755976f26
New Animation Engine approach
Prevent the horizontal wobblyness. Part 1, still needs to be combined with the zoom-function and to fully replace the old approach

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
                        {
168
168
                                delete img;
169
169
                                ImagesList->RemoveAt (i);
170
 
                                wxGetApp ().reposition ();
 
170
                                //wxGetApp ().reposition ();
171
171
                                wxGetApp ().updateSize ();              
172
172
                        } else if (img->windowCount() == 0) {
173
173
                // we need to fall back to the default image, if a starter
180
180
                img->img = ti.icon.ConvertToImage();
181
181
                
182
182
            }
183
 
                        wxGetApp().refresh();
 
183
                        //wxGetApp().refresh();
184
184
                        return;
185
185
                }
186
186
        }       
216
216
            // refresh the icon, cause sometimes the splash-screen has not
217
217
            // a valid icon, but the program does
218
218
            img->img = ti.icon.ConvertToImage();
219
 
                        wxGetApp().refresh();
 
219
                        //wxGetApp().refresh();
220
220
                        return;
221
221
                }
222
222
        }
310
310
        si->blurStatus = STATUS_NONE;
311
311
        si->blur = 0;
312
312
        ImagesList->Add (si);
313
 
        wxGetApp ().reposition ();
 
313
        //wxGetApp ().reposition ();
314
314
        wxGetApp ().updateSize ();
315
315
}
316
316