3 ms·
Ah yeah, I miss the title bar access too. I had a “# days remaining” button there in the first version of the app when it was native to Mac and went with someth
by dceddia 4y ago
Ah yeah, I miss the title bar access too. I had a “# days remaining” button there in the first version of the app when it was native to Mac and went with something less slick this time. The nice thing about Tauri is the native access if you need it, and I think this is probably possible because you can get a handle to the native window, and call native Mac APIs to e.g. access the title bar view and add subviews to it. (of course the downside is having to adapt that code to every platform)
My workaround for the IPC stuff was to just avoid sending binary data at all. I originally wanted to send video frames but it was pretty quickly clear that would not work well at all. So I just send commands, and serialize the timeline back and forth, and do the video on a native layer.