Skip to content

Commit

Permalink
dev_tools in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
cncastillo committed Nov 15, 2023
1 parent ebceb48 commit 3dc0759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/ExportUIFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function setup_blink_window(; darkmode=true, frame=true, dev_tools=false, show_w
:icon=>app_icon,
"width"=>1200,
"height"=>800,
"webPreferences"=>Dict("devTools"=>dev_tools),
:show=>show_window
), async=false);

Expand Down Expand Up @@ -72,6 +71,9 @@ function setup_blink_window(; darkmode=true, frame=true, dev_tools=false, show_w
@js_ w document.getElementById("main").style="background-color:rgb(13,16,17);"
end
# Return the Blink window
if dev_tools
Blink.tools(w)
end
return w, index
end

Expand Down

0 comments on commit 3dc0759

Please sign in to comment.