fix a delayed expiration that would cause a fifth item to linger in sticky areas.

Pawkette [03-28-14 - 16:29]
fix a delayed expiration that would cause a fifth item to linger in sticky areas.
Filename
.gitignore
core/PSBT_ScrollArea.lua
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b4c4178
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.sublime*
\ No newline at end of file
diff --git a/core/PSBT_ScrollArea.lua b/core/PSBT_ScrollArea.lua
index e87efe9..a373251 100644
--- a/core/PSBT_ScrollArea.lua
+++ b/core/PSBT_ScrollArea.lua
@@ -99,8 +99,7 @@ function PSBT_ScrollArea:OnUpdate( frameTime )
     while ( #self._sticky > NUM_STICKY ) do
         local old = tremove( self._sticky, 1 )
         old:SetMoving( false )
-
-        old:SetExpire( frameTime + 2 )
+        old:SetExpire( frameTime )
         self._newSticky = true
     end