558243a3b7b8452e2681ef51ef6315dc2e707b7d
Keeps the webclient's Client Options modal (2006scape_web_options.hd), startup URL/option state, and Plugin Hub's plugin.317_HD.enabled property synchronized in both directions and at runtime. ### Web HD State Synchronization - src/main/java/org/scape2006/web/WebLauncher.java: - Added syncHdStorageState(boolean) on startup when ?hd= or saved web options specify HD so plugin.317_HD.enabled in 2006scape_plugin_settings matches ClientSettings.HD_317 before PluginManager boots. - Registered window.scapeSetHd317 callback forwarding live HD toggles to game.setHD317Enabled(boolean). - src/main/java/org/scape2006/web/DesktopHooks.java: - Added jsSyncWebOptionHdFromPluginConfig(String) in savePluginConfig(String) so toggling 317 HD in Plugin Hub or via ::hd updates 2006scape_web_options.hd in localStorage. - src/main/webapp/index.html: - Updated saveOpts(applyLive) to mirror o.hd into plugin.317_HD.enabled in 2006scape_plugin_settings and invoke window.scapeSetHd317(o.hd) when saving live.
Languages
Java
74.5%
HTML
24.3%
JavaScript
1.2%