فهرست منبع

Restore selectedElements on undelete (#1242)

* Restore selectedElements on undelete

* Update regressionTest snapshots
Shriram Balaji 5 سال پیش
والد
کامیت
290244660b
2فایلهای تغییر یافته به همراه526 افزوده شده و 0 حذف شده
  1. 1 0
      src/appState.ts
  2. 525 0
      src/tests/__snapshots__/regressionTests.test.tsx.snap

+ 1 - 0
src/appState.ts

@@ -66,6 +66,7 @@ export function clearAppStatePropertiesForHistory(
   appState: AppState,
 ): Partial<AppState> {
   return {
+    selectedElementIds: appState.selectedElementIds,
     exportBackground: appState.exportBackground,
     currentItemStrokeColor: appState.currentItemStrokeColor,
     currentItemBackgroundColor: appState.currentItemBackgroundColor,

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 525 - 0
src/tests/__snapshots__/regressionTests.test.tsx.snap


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است