AddOverlap icon indicating copy to clipboard operation
AddOverlap copied to clipboard

Sometimes is lost from the toolbar.

Open ryanbugden opened this issue 7 years ago • 2 comments

Hi Alexandre, I've noticed lately that sometimes when loading RF, the extension's button is nowhere to be found. Difficult to reproduce, but decided to open this issue when a classmate also expressed having the same problem. Reinstalling AddOverlap / restarting RF seem to sometimes solve it. Any idea what might be causing this? Thanks.

ryanbugden avatar Nov 19 '18 21:11 ryanbugden

It happens to me each time I close and open glyph window

jansindl3r avatar May 11 '20 16:05 jansindl3r

I guess it will need more work for a proper fix nad PR. I would like to have a look on it, but it must be tested on multiple versions which I don't have. But at least I am sharing this small workaround that allows you to put it on a shortcut, now. It might be nice to have it on shortcut in the future, moving mouse hurts my arm :( .

Info.plist

    <key>addToMenu</key>
    <array>
        <dict>
            <key>path</key>
            <string>AddOverlap.py</string>
            <key>preferredName</key>
            <string>Add Overlap</string>
            <key>shortKey</key>
            <array>
                <integer>262144</integer>
                <string>o</string>
            </array>
        </dict>
    </array
<!-- few lines later, change this to false or 0 -->
    <key>launchAtStartUp</key>
    <false/>

AddOverlap.py

if __name__ == "__main__":
    AddOverlapTool.addOverlap(None, None)

jansindl3r avatar May 11 '20 16:05 jansindl3r