You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only way I’ve found to get them working correctly is to show them and resize them a bit. Something about resizing them makes everything work.
I’ve got a branch going where I’ve started working on this.
1369e50097 helps a little. With that change, you just have to manually show the panel once and after that, it will slide out.
There are two problems I still need to figure out.
The window doesn’t seem to exist at all on launch, so it can’t respond to mouseEntered: until you manually show it once.
When the window is created, trackingRect is only 256 pixels wide, so the panel only slides out if you touch somewhere in the left-most 256px. The window itself is somehow the correct size. If you resize it by one pixel, the tracking rect suddenly jumps to the actual window size (give or take the one pixel you just changed).
Stumped and giving up for now, if anyone has any ideas.
The text was updated successfully, but these errors were encountered:
I’ve figured out that trackingRect is initially using the default size from the clipboard history’s NIB in the plug-in. The window itself always appears at the correct size for some reason.
The only way I’ve found to get them working correctly is to show them and resize them a bit. Something about resizing them makes everything work.
I’ve got a branch going where I’ve started working on this.
1369e50097 helps a little. With that change, you just have to manually show the panel once and after that, it will slide out.
There are two problems I still need to figure out.
mouseEntered:
until you manually show it once.trackingRect
is only 256 pixels wide, so the panel only slides out if you touch somewhere in the left-most 256px. The window itself is somehow the correct size. If you resize it by one pixel, the tracking rect suddenly jumps to the actual window size (give or take the one pixel you just changed).Stumped and giving up for now, if anyone has any ideas.
The text was updated successfully, but these errors were encountered: