-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] GetImageStream wrong when lines populated from code #649
Comments
Looking at this more, what actually appears to happen is that somehow all lines except the last So at the time the |
@cornem It looks like you haven't set @VladislavAntonyuk I do wonder if we should either automatically set |
@bijington Setting that property actually makes no difference; |
no, they are independent. I may have 5 lines (IsMultiLineModeEnabled = true). I want to clean on drawing 6th line. I set ClearOnFinish = true. |
Is there an existing issue for this?
Current Behavior
When the
DrawingView.Lines
is bound to a view model property and initalized with some lines, theDrawingView
displays the lines correctly, butGetImageStream
returns a bitmap of only a portion of the view. After the user has interacted with theDrawingView
, a proper bitmap will be returned.Expected Behavior
When the view is initialized with a binding on
Lines
already containing some lines,GetImageStream
should return a bitmap of the same size as if the lines were drawn on the view by the user.Steps To Reproduce
ObservableCollection<IDrawingLine>
DrawingLine
instancesDrawingView
and bind theLines
to the view model propertyDrawingView.GetImageStream
DrawingView
Link to public reproduction project repository
https://github.com/cornem/maui-drawingview-repro
Environment
Anything else?
Confirmed not working on Windows and Android. Other targets were not tested.
The text was updated successfully, but these errors were encountered: