mirror of https://github.com/logseq/logseq
parent
2b8f983e3d
commit
0b012b5773
|
@ -26,7 +26,7 @@
|
|||
([url {:keys [graph] :as opts}]
|
||||
(let [win-state (windowStateKeeper (clj->js {:defaultWidth 980 :defaultHeight 700}))
|
||||
native-titlebar? (cfgs/get-item :window/native-titlebar?)
|
||||
url (if graph (str url "?graph=" graph) url)
|
||||
url (if graph (str url "#/?graph=" graph) url)
|
||||
win-opts (cond->
|
||||
{:backgroundColor "#fff" ; SEE https://www.electronjs.org/docs/latest/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
|
||||
:width (.-width win-state)
|
||||
|
|
Loading…
Reference in New Issue