usage 0.22.5
修正 1 項
01
不小心按到右鍵「重新載入」不會再讓面板變成一片死白
以前在面板上按滑鼠右鍵選「重新載入(Reload)」,面板會永遠變成一片空白,除非整個程式重開不然救不回來。現在系統直接把右鍵選單裡那些沒用的網頁導航按鈕(重新載入、上一頁、下一頁)拿掉了,而且內部的重載機制也改成重新把畫面畫出來,不會再傻傻地載入空白網頁。這也順便修好了一個問題:當系統在背後把網頁畫面偷偷關掉時,現在它懂得自己重新畫回來。就像以前你不小心按到電視遙控器的重設鍵,畫面就全黑再也打不開,現在它把那顆危險的按鈕藏起來了。
官方原文
**Panel no longer goes permanently blank after a context-menu "Reload"**: the popover panel loads its HTML via loadHTMLString with no base URL, so the WKWebView system context-menu Reload reloaded about:blank and left the panel blank with no obvious way to recover (#42). usage now strips navigation items (Reload/back/forward/open/download) from the panel's context menu, and internal reloads re-inject the original HTML instead of calling reload() — which also fixes panel recovery after the web-content process is terminated.