Set 'dragable.events_id' to -1 until it's properly implemented.
[redact.git] / lib / redact / part.rb
index 20bd38d35421bb9baa1f3135826e9f2420c8d580..d285c19dba139d61cd8ce5dfcd5613b2bca2b426 100644 (file)
@@ -1,5 +1,5 @@
 #--
-# $Id: part.rb 62 2005-07-16 18:51:44Z tilman $
+# $Id: part.rb 68 2005-09-19 20:03:09Z tilman $
 #
 # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
 #
@@ -112,6 +112,7 @@ module Redact
                         "dragable.y" => [@dragable.enabled[1], :char],
                         "dragable.step_y" => [@dragable.step[1]],
                         "dragable.count_y" => [@dragable.count[1]],
+                        "dragable.events_id" => [-1],
                         "dragable.counfine_id" => [confine_id]} # not a typo!
                end
 
@@ -478,7 +479,7 @@ module Redact
                end
 
                def set_border(l = 0, r = 0, t = 0, b = 0)
-                       @border = [r, r, t, b]
+                       @border = [l, r, t, b]
                end
 
                def fill_smooth=(v)