summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-04-29 09:42:10 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-04-29 09:42:10 +0100
commit420dc88c236ba46f412db643ac05f1b4fbc8547e (patch)
tree1e387afa9ae239535475f0f5da010ebff2325ab3 /src
parent632a0cbdd1f20bae118543a7c8da019c232dd317 (diff)
downloadfpGUI-420dc88c236ba46f412db643ac05f1b4fbc8547e.tar.xz
trackbar: minor optimisation. Setting Position already calls RePaint and DoChange.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_trackbar.pas2
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;