Skip to content

Commit

Permalink
remove controls for dragging and resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitk50 authored and tpike3 committed Nov 17, 2023
1 parent 6d5cb67 commit e58b4da
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mesa/experimental/jupyter_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ def render_in_browser():
ModelController(model, play_interval, current_step, reset_counter)
with solara.Card("Progress", margin=1, elevation=2):
solara.Markdown(md_text=f"####Step - {current_step}")
resizable = solara.ui_checkbox("Allow resizing", value=True)
draggable = solara.ui_checkbox("Allow dragging", value=True)

items = [
ColorCard(color="white", layout_type=layout_types[i])
Expand All @@ -144,8 +142,8 @@ def render_in_browser():
solara.GridDraggable(
items=items,
grid_layout=grid_layout,
resizable=resizable,
draggable=draggable,
resizable=True,
draggable=True,
on_grid_layout=set_grid_layout,
)

Expand Down

0 comments on commit e58b4da

Please sign in to comment.