Skip to content

Commit 43f1363

Browse files
committed
Implement WebView2 Rainmeter plugin with URL loading, dynamic sizing, and mouse interaction, while removing outdated mouse interaction commands from the README.
1 parent ce0d41c commit 43f1363

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,6 @@ Control your WebView with Rainmeter bangs:
296296

297297
; Developer tools
298298
[!CommandMeasure MeasureWebView "OpenDevTools"]
299-
300-
; Mouse interaction
301-
[!CommandMeasure MeasureWebView "ToggleClickthrough"]
302-
[!CommandMeasure MeasureWebView "EnableClickthrough"]
303-
[!CommandMeasure MeasureWebView "DisableClickthrough"]
304299
```
305300

306301
</td>

WebView2/Plugin.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -348,21 +348,6 @@ PLUGIN_EXPORT void ExecuteBang(void* data, LPCWSTR args)
348348
{
349349
measure->webView->OpenDevToolsWindow();
350350
}
351-
else if (_wcsicmp(action.c_str(), L"EnableClickthrough") == 0)
352-
{
353-
measure->clickthrough = true;
354-
UpdateClickthrough(measure);
355-
}
356-
else if (_wcsicmp(action.c_str(), L"DisableClickthrough") == 0)
357-
{
358-
measure->clickthrough = false;
359-
UpdateClickthrough(measure);
360-
}
361-
else if (_wcsicmp(action.c_str(), L"ToggleClickthrough") == 0)
362-
{
363-
measure->clickthrough = !measure->clickthrough;
364-
UpdateClickthrough(measure);
365-
}
366351
}
367352

368353
// Generic JavaScript function caller

0 commit comments

Comments
 (0)