Ticket #5472: add_offsets.diff
File add_offsets.diff, 626 bytes (added by , 14 years ago) |
---|
-
support.cpp
103 103 if (frame.bottom > screenFrame.bottom) 104 104 frame.OffsetBy(0.0, -(frame.bottom - screenFrame.bottom)); 105 105 if (frame.left < screenFrame.left) 106 frame.OffsetBy((screenFrame.left - frame.left ), 0.0);106 frame.OffsetBy((screenFrame.left - frame.left + 5.0), 0.0); 107 107 if (frame.top < screenFrame.top) 108 frame.OffsetBy(0.0, (screenFrame.top - frame.top ));108 frame.OffsetBy(0.0, (screenFrame.top - frame.top + 5.0)); 109 109 } 110 110 success = true; 111 111 }