macMikey / tmc3

taking tmc where it should go, next
2 stars 1 forks source link

some behaviors broken #4

Open macMikey opened 2 years ago

macMikey commented 2 years ago

Some behaviors broken

Not inheriting masterBehavior and running the onDesktop() function:

macMikey commented 2 years ago

Problem seems to be in before mouseMove in the scrollerlib calling onDesktop()

macMikey commented 2 years ago

Bug report

macMikey commented 2 years ago

Bug confirmed by Panos. id 23528 Also suggests a workaround, adding to app.yml in the behaviors section: - filename: ./behaviors/tmc3/libs/tmc3_MasterBehavior.livecodescript

macMikey commented 2 years ago

However, because of the nesting of behaviors, naming everything and getting the order right seems like it works better

  - filename: ./behaviors/tmc3/libs/tmc3_MasterBehavior.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_button_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_card_resize_behavior.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_colorize.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_field_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_mobile_browser_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_mobile_player_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_mobile_scroller_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_mobile_text_input_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_navbar_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_page_control_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_progressbar_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_region_selection_monitor.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_segmented_control_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_simple_chart_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_simple_gauge_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_simple_table_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_slider_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_stepper_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_swipe_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_switch_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_tab_bar_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_template_table_lib.livecodescript
  - filename: ./behaviors/tmc3/libs/tmc3_toolbar_lib.livecodescript
  - folder: ./behaviors
macMikey commented 2 years ago

Even after doing that, some properties don't behave properly e.g. if i set the tmVisible of a text input field to false, the native control disappears, but the group does not