mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
remove zoom change in #move_item method
This commit is contained in:
@@ -356,7 +356,7 @@ class basic_widget = fun ?(height=800) ?width ?(projection = Mercator) ?georef (
|
||||
|
||||
method move_item = fun (item:GnomeCanvas.re_p GnoCanvas.item) wgs84 ->
|
||||
let (xw,yw) = self#world_of wgs84 in
|
||||
item#affine_absolute (affine_pos_and_angle ~z:self#zoom_adj#value xw yw 0.);
|
||||
item#affine_absolute (affine_pos_and_angle xw yw 0.);
|
||||
|
||||
method moveto = fun wgs84 ->
|
||||
let (xw, yw) = self#world_of wgs84 in
|
||||
|
||||
Reference in New Issue
Block a user