Closed nor0x closed 3 years ago
Wow nice 😍
I'll try to find some time to merge this in the following weeks :)
all those great PR that awaiting to be merged x)
i've tried your renderer and it works fine but it seems that effects Images Radius some how! 🤔 even in your screenshots you can see that profile image doesn't have any Corner radius.
update : no image button and no frame can give images radius on macOS you should only use Image.Clip property.
i've tried your renderer and it works fine but it seems that effects Images Radius some how! 🤔 even in your screenshots you can see that profile image doesn't have any Corner radius.
update : no image button and no frame can give images radius on macOS you should only use Image.Clip property.
you are right - unfortunately there is no ImageButton
on macOS. In https://github.com/roubachof/Sharpnado.Acrylic/pull/1/commits/026b8309be3432c33de73ca4f6777880e6eb0d6f i have replaced it with a regular image + gesture recognizer. I will update the sample and use an EllipseGeometry
for clipping 👍
It's happening :)
You didn't change the nuspec file so I dont think we can build a nuget :/
Shouldn't we add a line in the Readme for Mac initialization as well ? Saw you put an Init method on the renderer.
Shouldn't we add a line in the Readme for Mac initialization as well ? Saw you put an Init method on the renderer.
makes sense, i forgot that in the updated readme - process should be identical to iOS
also, would you be interested in making a post on Sharpnado about your PR ?
yes sure, i would love to 🥳
2 impediments prevent this PR to go through release in Nuget package:
the package is ready now. So if you still want to write a post on sharpnado you are more than welcome :) If you want to proceed, I just need a markdown with images/gifs in a compressed folder. If you want ideas on how to structure the post, here is what could be a plan
who are you why did you use sharpnado tabs? why you had this idea? first implementation communication on the PR final adjustments It could be small amount of text for each points, or long ones, it's up to you !
You can also come up with a totally different plan, it's fine by me :)
let me know what you think
If you don't really have time or just the desire to write a post, you can just answers the question here, and I will just turn them into an interview in a blog post :)
@roubachof sorry for the delay, i just came back from a long vacation ⛵ i have sent you some blogabble content via email, please let me know if this works for you
Hey @roubachof 👋
i have added a macOS renderer for
Sharpnado.MaterialFrame
. It's based on the iOS renderer with little modifications specific toAppKit
- it's great that most of the magic is happening inCoreAnimation
/CoreGraphics
which can be shared between iOS and macOS.Commit messages
MaterialFrame.macOS
project addedmacOSMaterialFrameRenderer
addedInternalLogger
updated to be available in macOS assemblyI have also updated
Sharpnado.Acrylic
and added a macOS project here https://github.com/roubachof/Sharpnado.Acrylic/pull/1Screenshots