Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prevent OS X dashboard weather widget from moving around.
--- /Library/Widgets/Weather.wdgt/Weather.js 2012-07-20 10:53:24.000000000 -0400
+++ /Library/Widgets/Weather.wdgt/Weather.js 2012-07-20 10:53:40.000000000 -0400
@@ -406,7 +406,7 @@
if (entry != null)
{
iconData.push(entry);
- maxOffset = entry.voffset > maxOffset ? entry.voffset : maxOffset;
+ // maxOffset = entry.voffset > maxOffset ? entry.voffset : maxOffset;
if (entry.hoffset < 0)
{
@nklatt

This comment has been minimized.

Copy link

nklatt commented Apr 10, 2014

Didn't work for me - killall Dock still sends 'em flying. It's insane this issue hasn't been fixed yet, sounds like it's been happening for years. Maybe I'll poke around in this file myself, though, now that I know about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.