fix frame more

This commit is contained in:
Torsten Ruger
2014-09-28 11:18:24 +03:00
parent 5a17bf3396
commit d8710de590
3 changed files with 16 additions and 4 deletions

View File

@ -8,7 +8,7 @@ module Positioned
end
def set_position pos
# resetting of position used to be error, but since relink and dynamic instruction size it is ok. in measures
if @position != nil and ((@position - pos).abs > 15)
if @position != nil and ((@position - pos).abs > 32)
raise "position set again #{pos}!=#{@position} for #{self}"
end
@position = pos