frederik_diamond on Nostr: I have managed to implement the functionality to make the tabs draggable. It works ...
I have managed to implement the functionality to make the tabs draggable.
It works quite well, but there are certainly some bugs I need to get fixed.
1. The user must double click and then hold the tab before they can drag it. If the user just clicks and holds, then drags, the whole window will start moving...
2. Also, dragging the tabs to the right-most position and then releasing does not work. But dragging the tabs left always works.
It works quite well, but there are certainly some bugs I need to get fixed.
1. The user must double click and then hold the tab before they can drag it. If the user just clicks and holds, then drags, the whole window will start moving...
2. Also, dragging the tabs to the right-most position and then releasing does not work. But dragging the tabs left always works.
quoting nevent1q…966cI finally have the empty tabs mostly functional for my notes app.
(I’m building a notes app to learn Swift and how to develop apps for MacOS)
I still need to figure out how I can implement the necessary functionality to allow the user to drag the tabs so they can be rearranged – similar to how it works in Chrome and other browsers.
Still have a LONG way to go before the app is fully functional, but I’m making a bit of progress each day.
#dev #swift