From 9e755f078a806d6c81e1dbdbc54d12888041bbff Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 22 Feb 2005 22:46:25 +0000 Subject: Do not scale the buttons in the decoration over and over again. The logic was if the requested size is not the size of the pixmap load and scale it to the right size. The problem was the scaleButton method was changed to not scale the pixmap (to avoid bluring al will kill me for that) if the delta of the sizes was <= 4. We now do not try to scale if the delta is <= 4 --- (limited to 'libopie2/tools') -- cgit v0.9.0.2