From 420dc88c236ba46f412db643ac05f1b4fbc8547e Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 29 Apr 2013 09:42:10 +0100 Subject: trackbar: minor optimisation. Setting Position already calls RePaint and DoChange. --- src/gui/fpg_trackbar.pas | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gui/fpg_trackbar.pas b/src/gui/fpg_trackbar.pas index d9b9db56..beebf665 100644 --- a/src/gui/fpg_trackbar.pas +++ b/src/gui/fpg_trackbar.pas @@ -516,8 +516,6 @@ begin if newp <> FPosition then begin Position := newp; - RePaint; - DoChange; end; end; -- cgit v1.2.3-70-g09d2