Skip to content

Commit 36401bc

Browse files
authored
Merge pull request #2 from hyoo-ru/new-tree2
$mol_view_tree2 refactor, hyoo-ru/mam_mol#646
2 parents 2238fa3 + 2d6da48 commit 36401bc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

map.view.tree

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $hyoo_map $mol_view
3434
geo_to_tile_y!val => geo_to_tile_y!val
3535
allow_draw false
3636
zoom?val <=> zoom?val 1
37-
shift?val <=> center?val $mol_vector_2d /
37+
shift?val <=> center?val $mol_vector_2d<number> /
3838
0
3939
0
4040
graphs <= graphs /

pane/pane.view.tree

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
$hyoo_map_pane $mol_plot_pane
22
gap_hor 0
33
gap_vert 0
4-
scale?val $mol_vector_2d /
4+
geo_to_tile_x* 0
5+
geo_to_tile_y* 0
6+
geo_to_tile* $mol_vector_2d<number>
7+
scale?val $mol_vector_2d<number> /
58
<= zoom
69
<= zoom

0 commit comments

Comments
 (0)