mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
0.7.7.1
This commit is contained in:
@@ -3276,4 +3276,19 @@ public partial class MainWindow
|
||||
_isComponentLibraryComponentGestureActive = false;
|
||||
ApplyComponentLibraryComponentOffset();
|
||||
}
|
||||
|
||||
internal void SaveAllWhiteboardNotes()
|
||||
{
|
||||
foreach (var pageGrid in _desktopPageComponentGrids.Values)
|
||||
{
|
||||
foreach (var host in pageGrid.Children.OfType<Border>())
|
||||
{
|
||||
var contentHost = TryGetContentHost(host);
|
||||
if (contentHost?.Child is WhiteboardWidget whiteboard)
|
||||
{
|
||||
whiteboard.ForceSaveNote();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user