Recent changes have made the driver much more responsive, but it's also resulted in never ever updating the box model. One quick hack to provide some control here: panning the surface (or moving a definition) updates everything. And to remain snappy it only does so on mouse release.
I still need to polish when we recompute. Arguably we need to decompose A into a few different concerns and create variants that perform subsets of A's concerns. But this hacky commit helps.
YQHOPPHYPT2O4GDLUILYIWHG7UJBWFOQ7G6YPS2SQMCO3IQXFPPAC
on.mouse_release = function(x,y, mouse_button)
if Animating then return end
if Pan then
Pan = nil
A()
elseif Move then
Move = nil
A()
elseif Cursor_node then
Cursor_node.show_cursor = true
edit.mouse_release(Cursor_node.editor, x,y, mouse_button)
end
end
{"approximate_up":658,"Ticks_font":669,"on.mouse_release":836,"on.save_settings":742,"on.load_settings":782,"table_and_array_both_empty":689,"on.text_input":834,"line_height":365,"box_height":680,"compute_layout":385,"on.code_change":820,"add_thick_line":400,"Cursor_node":172,"scale":712,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Animating":813,"Menu_highlight_color":614,"draw_menu_bar":641,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Surface":422,"initialize_editor":678,"get_multiple_definitions_from_app":783,"load_from_iterator":670,"copy_shape":396,"get_definition_from_app":784,"wait_for_response":781,"Viewport":604,"fw_app":"driver","Manifest_navigator":495,"manifest_navigator_up":628,"on.initialize":807,"manifest_navigator_down":635,"B":830,"on.mouse_press":722,"delete_definition":673,"fw_parent":835,"move_candidate_to_front_of_manifest":632,"sx":544,"keychord_press_on_manifest_navigator":765,"manifest_coord":636,"on.keychord_press":828,"draw_run_time_error":808,"draw_cursor":639,"Manifest":769,"Page":475,"manifest_index":637,"on.key_release":720,"manifest_navigator_candidates":638,"animate_next":809,"get_manifest":768,"add_def_to_menu":640,"on_text":539,"load_manifest":694,"on":1,"animate_next_frame":825,"mouse_cursor":558,"reset_manifest_navigator":772,"new_definition":821,"on_handle":547,"Definitions":503,"sy":469,"set_mouse_cursor":562,"on.code_submit":787,"draw_ticks":663,"surface_bounds":814,"initialize_manifest_navigator":773,"approximate":579,"font":353,"survey_animation":827,"vy":546,"vx":545,"tick_spec":660,"maybe_update_key_in_definitions":529,"Spawn_point":822,"order_of_magnitude":573,"from_viewport":823,"update_editor_box":711,"interpolate_viewport":824,"on.update":835,"on.draw":797,"Mouse_cursor":559,"load_definition":716,"A":831,"text_input_on_manifest_navigator":634,"y_of_schema1":364,"schema1_of_y":667}