Wiesław Šoltés
76d8bcff56
Use IAnimationSetter instead of object to attached property
5 years ago
Wiesław Šoltés
3eb8ccfdcb
Merge branch 'master' into feature/SetterAnimatorAttachedPropertyHack
5 years ago
Wiesław Šoltés
43bfff83a0
Update IAnimationSetter.cs
5 years ago
Wiesław Šoltés
42a7c835fb
Delete ApiCompatBaseline.txt
5 years ago
Dan Walmsley
7c37a1882d
Merge pull request #6083 from AvaloniaUI/fixes/osx-window-state
fix osx window state logic.
5 years ago
Dan Walmsley
7fce54bd7a
Merge branch 'master' into fixes/osx-window-state
5 years ago
Nikita Tsukanov
453610836f
Merge pull request #6074 from workgroupengineering/features/DevTools/Startup_Screen
feat(DevTools): Startup Screen
5 years ago
Dan Walmsley
f7cc89c86b
fix osx window state logic.
5 years ago
Wiesław Šoltés
65b115c6e1
Add comments
5 years ago
Wiesław Šoltés
84dd710fc1
Use attached property
5 years ago
Wiesław Šoltés
4748244564
Add custom animator example
5 years ago
Wiesław Šoltés
d323d069df
Create ApiCompatBaseline.txt
5 years ago
Wiesław Šoltés
8f203c6800
Add Animator property to Setter
5 years ago
Giuseppe Lippolis
02fd0006a9
fixes: check StartupScreenIndex is greater than -1
5 years ago
Giuseppe Lippolis
fa133444c4
fixes: Renamed StartupScreen to StartupScreenIndex
5 years ago
Giuseppe Lippolis
4b3c9b77ca
Merge branch 'master' into features/DevTools/Startup_Screen
5 years ago
Nikita Tsukanov
8587e73c39
Merge pull request #6069 from DrunkyBard/remote-widget-fix-zero-size
fixes RemoteWidget error when width or height is equal to zero. Issue…
5 years ago
Nikita Tsukanov
6aba61fa86
Merge branch 'master' into remote-widget-fix-zero-size
5 years ago
Giuseppe Lippolis
c7da3ccdc5
feat(DevTools): Startup Screen
5 years ago
Dariusz Komosiński
151a7a010d
Merge pull request #6058 from wieslawsoltes/feature/PolyLineSegment
Add PolyLineSegment path segment
5 years ago
Wiesław Šoltés
9a2965ca31
Merge branch 'master' into feature/PolyLineSegment
5 years ago
Sattar Imamov
29fd1789e2
Merge branch 'master' into remote-widget-fix-zero-size
5 years ago
Sattar Imamov
b0972c8642
fixes RemoteWidget error when width or height is equal to zero. Issue #6068
5 years ago
Steven Kirk
e2a5bef7e7
Merge pull request #5055 from Fusion86/fix-keybindings-foreach-crash
Fix crash when KeyBindings change while they are being handled
5 years ago
Max Katz
2d10536abf
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
3b8e89fd6a
Merge pull request #5150 from YohDeadfall/fixed-property-equals-selector
Added ability to use non well known property types in style selector
5 years ago
Dariusz Komosiński
525373e8fe
Merge branch 'master' into fixed-property-equals-selector
5 years ago
Steven Kirk
2812f3324d
Merge branch 'fix-keybindings-foreach-crash' of https://github.com/Fusion86/Avalonia into pr/5055
5 years ago
Steven Kirk
a11270b07e
Add a sanity check to the test.
5 years ago
Steven Kirk
d01a8afd47
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
4285c3d0d1
Don't create a copy of the array unless necessary.
5 years ago
Steven Kirk
6b94cc4ed9
Added failing test for #5054 .
5 years ago
Jumar Macato
36d7c57ae0
Merge pull request #6064 from AvaloniaUI/fixes/6063-animation-neutral-value
Fix fetching neutral value in animations.
5 years ago
Steven Kirk
4b9f08227d
Merge branch 'master' into fix-keybindings-foreach-crash
5 years ago
Steven Kirk
d6d87b1a32
Fix fetching neutral value in animations.
Animators fetched the neutral value when the animation is instantiated but did not update the neutral value if it's updated after that.
#6063 was caused by the fact that the neutral value does not take effect until the batch update due to styling has finished on the control, which is _after_ the animation has been instantiated.
Listen for changes on the property and if the change is not an animated value change, update the neutral value.
This isn't perfect because it won't react to changes to the neutral value while the animation is actually running and producing values because `PropertyChanged` events don't get fired for non-active values: for that we'd need to hook into `OnPropertyChangedCore`. But this at least fixes the simple case of the initial neutral value.
5 years ago
Wiesław Šoltés
79ea6a4e38
Add PolyLineSegment path segment
5 years ago
Dan Walmsley
1ea16bf2ee
Merge pull request #6053 from AvaloniaUI/fixes/6051-multiline-textbox-caret-pos
Fix caret positioning with empty newlines.
5 years ago
Steven Kirk
14ea7b44ed
Fix caret positioning with empty newlines.
`FormattedTextImpl` on Skia adds a special empty line when there is a trailing newline in the string. However this line is reported as having a width due to `SKPaint.MeasureText` returning a non-zero value for `\r` and `\n`.
We can't simply always use 0 width when we encounter a control char when building the rects as that breaks hit testing. Instead, mark the empty trailing line with a flag and and treat it differently when building the rects and hit-testing a range.
Yes, this is a big hack but as far as I understand the whole of `FormattedTextImpl` on Skia is a bit of a hack, but until @Gillibald's new `TextPresenter` is ready, this _might_ be a good enough fix?
5 years ago
Steven Kirk
93f921ca63
Merge pull request #6044 from AvaloniaUI/fixes/failing-debug-build-tests
Fix a couple of tests that only fail in debug mode.
5 years ago
Steven Kirk
8d0ba614f5
Merge branch 'master' into fixes/failing-debug-build-tests
5 years ago
Max Katz
2b294ea669
Merge pull request #6049 from workgroupengineering/fixes/Issue_#6047
fixes(DevTools): Issue #6047
5 years ago
Max Katz
226d22c8c6
Merge branch 'master' into fixes/Issue_#6047
5 years ago
Max Katz
479e64ddfa
Merge pull request #6046 from workgroupengineering/fixes/Issue_5882
fixes(DevTools): Issue #5882
5 years ago
Giuseppe Lippolis
caa617fe67
fixes(DevTools): Issue #6047
5 years ago
Giuseppe Lippolis
16af23a878
fixes(DevTools): Issue #5882 binding Error 'Could not find a matching property accessor for 'Priority' and 'Could not find a matching property accessor for 'IsAttached'
5 years ago
Steven Kirk
31d9b5b13a
Fix a couple of tests that only fail in debug mode.
Introduced in #6039 due to use of `Debug.Assert`.
5 years ago
Steven Kirk
3b3fb0fbd9
Merge pull request #6039 from MarchingCube/fix-textpresenter-caretbrush
Fix problems with mutable brush being passed to an immutable pen.
5 years ago
Dariusz Komosinski
6f5bf52178
Fix problems with mutable brush being passed to an immutable pen.
5 years ago
Dariusz Komosiński
257e7ed3f3
Merge pull request #6029 from MarchingCube/brush-transition
Transitions for solid color brushes.
5 years ago
Dariusz Komosiński
3f49e4b0ed
Merge branch 'master' into brush-transition
5 years ago