ropensci/MtreeRing

Transect only goes straight, no hover line

condwanaland opened this issue · 0 comments

When trying to add a transect line, I'm noticing three issues

  1. The hover line where the mouse position is does not show
  2. The transect only goes straight - its not angled if I click somewhere on the sides
  3. If I do click somewhere on the sides, the transect ends at a line that runs perpendicular to the transect itself.

I have a gif here showing the issues

Screen.Recording.2021-07-26.at.4.48.17.PM.mov

Session Info

R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS  10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_NZ.UTF-8/en_NZ.UTF-8/en_NZ.UTF-8/C/en_NZ.UTF-8/en_NZ.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] dplyr_1.0.7          measuRing_0.5        spatstat.geom_2.2-2  spatstat.data_2.1-0 
 [5] dplR_1.7.2           imager_0.42.10       magick_2.7.2         bmp_0.3             
 [9] tiff_0.1-8           jpeg_0.1-8.1         png_0.1-7            magrittr_2.0.1      
[13] testthat_3.0.4       MtreeRing_1.4.5      shinydashboard_0.7.1 shinyWidgets_0.6.0  
[17] shiny_1.6.0         

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7           lattice_0.20-44      deldir_0.2-10        assertthat_0.2.1    
 [5] digest_0.6.27        utf8_1.2.1           mime_0.11            R6_2.5.0            
 [9] plyr_1.8.6           signal_0.7-7         pillar_1.6.1         rlang_0.4.11        
[13] rstudioapi_0.13      R.utils_2.10.1       R.oo_1.24.0          Matrix_1.3-4        
[17] stringr_1.4.0        polyclip_1.10-0      igraph_1.2.6         tinytex_0.32        
[21] compiler_4.0.2       httpuv_1.6.1         xfun_0.24            pkgconfig_2.0.3     
[25] htmltools_0.5.1.1    readbitmap_0.1.5     tidyselect_1.1.1     tibble_3.1.3        
[29] matrixStats_0.59.0   XML_3.99-0.6         fansi_0.5.0          crayon_1.4.1        
[33] withr_2.4.2          later_1.2.0          MASS_7.3-54          R.methodsS3_1.8.1   
[37] grid_4.0.2           jsonlite_1.7.2       xtable_1.8-4         lifecycle_1.0.0     
[41] DBI_1.1.1            stringi_1.7.3        promises_1.2.0.1     ellipsis_0.3.2      
[45] generics_0.1.0       vctrs_0.3.8          spatstat.utils_2.2-0 boot_1.3-28         
[49] tools_4.0.2          glue_1.4.2           purrr_0.3.4          rsconnect_0.8.18    
[53] fastmap_1.1.0        yaml_2.2.1           pastecs_1.3.21