Skip to content

Commit

Permalink
Fix for safari compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaMirz committed Jul 31, 2023
1 parent de6dff6 commit ab8ead5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion callbacks/control_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def annotation_visibility(checked, delete_all, annotation_store, figure, image_i
"""
function dash_filters_clientside(brightness, contrast) {
console.log(brightness, contrast)
js_path = "#image-viewer > div.js-plotly-plot > div > div > svg:nth-child(1) > g.cartesianlayer > g > g.plot > g"
js_path = "#image-viewer > div.js-plotly-plot > div > div > svg:nth-child(1)"
changeFilters(js_path, brightness, contrast)
return ""
}
Expand Down

0 comments on commit ab8ead5

Please sign in to comment.