diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-29 09:42:10 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-29 09:42:10 +0100 |
commit | 420dc88c236ba46f412db643ac05f1b4fbc8547e (patch) | |
tree | 1e387afa9ae239535475f0f5da010ebff2325ab3 /src | |
parent | 632a0cbdd1f20bae118543a7c8da019c232dd317 (diff) | |
download | fpGUI-420dc88c236ba46f412db643ac05f1b4fbc8547e.tar.xz |
trackbar: minor optimisation. Setting Position already calls RePaint and DoChange.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/fpg_trackbar.pas | 2 |
1 files changed, 0 insertions, 2 deletions
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; |