Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rtshkmr committed Aug 15, 2024
1 parent d010644 commit 2f4a6be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/vyasa/display/user_mode.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ defmodule Vyasa.Display.UserMode do
mode_icon_name: "hero-pencil-square",
# TODO: add drafting form for this
# TODO: to test swaps of action bar component
# action_bar_component: VyasaWeb.MediaLive.MediaBridge,
action_bar_component: nil,
action_bar_component: VyasaWeb.MediaLive.MediaBridge,
# action_bar_component: nil,
control_panel_component: VyasaWeb.ControlPanel
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/vyasa_web/components/layouts/display_manager.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Bottom Action Bar -->
<%= if @mode.action_bar_component do %>
<div id="action-bar" class="fixed inset-x-0 bottom-0 z-10">
<%= live_render(@socket, @mode.action_bar_component, id: "MediaBridge", session: @session, sticky: true) %>
<%= live_render(@socket, @mode.action_bar_component, id: "ActionBar", session: @session, sticky: true) %>
</div>
<% end %>
</div>
4 changes: 1 addition & 3 deletions lib/vyasa_web/live/display_manager/display_manager.html.heex
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<div class="fixed inset-x-0 bottom-0 z-10">
<%= live_render(@socket, VyasaWeb.MediaLive.MediaBridge, id: "MediaBridge", session: @session, sticky: true) %>
</div>
<div></div>

0 comments on commit 2f4a6be

Please sign in to comment.