Browse Source
Merge branch 'master' into fix-transitions
pull/3010/head
danwalmsley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
4 deletions
-
native/Avalonia.Native/src/OSX/window.mm
-
src/Shared/PlatformSupport/AssetLoader.cs
|
|
|
@ -369,12 +369,9 @@ public: |
|
|
|
|
|
|
|
virtual void UpdateCursor() |
|
|
|
{ |
|
|
|
[View resetCursorRects]; |
|
|
|
if (cursor != nil) |
|
|
|
{ |
|
|
|
auto rect = [Window frame]; |
|
|
|
[View addCursorRect:rect cursor:cursor]; |
|
|
|
[cursor set]; |
|
|
|
[cursor set]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -425,6 +422,7 @@ private: |
|
|
|
{ |
|
|
|
WindowEvents = events; |
|
|
|
[Window setCanBecomeKeyAndMain]; |
|
|
|
[Window disableCursorRects]; |
|
|
|
} |
|
|
|
|
|
|
|
virtual HRESULT Show () override |
|
|
|
|
|
|
|
@ -242,6 +242,7 @@ namespace Avalonia.Shared.PlatformSupport |
|
|
|
throw new InvalidOperationException( |
|
|
|
$"Assembly {name} needs to be referenced and explicitly loaded before loading resources"); |
|
|
|
#else
|
|
|
|
name = Uri.UnescapeDataString(name); |
|
|
|
AssemblyNameCache[name] = rv = new AssemblyDescriptor(Assembly.Load(name)); |
|
|
|
#endif
|
|
|
|
} |
|
|
|
|