(Binding binding, Rect at)
| 231 | } |
| 232 | |
| 233 | |
| 234 | private void updatePosition(Binding binding, Rect at) { |
| 235 | if (binding.editorPosition == null || !binding.editorPosition.equals(at) && binding.target != null) |
| 236 | Drawing.dirty(binding.target); |
| 237 | |
| 238 | |
| 239 | if (at!=null) |
| 240 | binding.editorPosition = new Rect(at.x, at.y, at.w, at.h); |
| 241 | |
| 242 | // todo, callback |
| 243 | } |
| 244 | |
| 245 | /** |