Closed cbenhagen closed 1 year ago
@cbenhagen this was actually purposeful. I intended it to demonstrate that line as being highlighted as an addition, but it clearly didn't work 😅
Kinda like this
Oh ok. Feel free to close this then. I would argue to take it out so it doesn't create a problem when copy pasting.
Well, if you know how to make it look the way it should that would be great. Otherwise, yeah, I guess it should be removed.
I also just copy&pasted the Swiftcode and got this compile error:
/macos/Runner/MainFlutterWindow.swift:32:1: error: binary operator '+' cannot be applied to operands of type 'NSRect' (aka 'CGRect') and 'NSColor?'
I think many Flutter developers will just copy&paste the code.
Maybe wrap the '+' in a comment like / added / or better: just remove it. +1
@GroovinChip why would you prefer to format this as a diff? Shouldn't the code snippet reflect the currently needed code for Flutter stable? History is always available if someone needs to see the changes that were made.
@GroovinChip why would you prefer to format this as a diff? Shouldn't the code snippet reflect the currently needed code for Flutter stable? History is always available if someone needs to see the changes that were made.
Yeah, that's fair.
Thank you all for setting me straight on this!
Most likely a copy paste leftover. Hopefully no changelog entry needed.