Commit c42354c 1 parent 21024fe commit c42354c Copy full SHA for c42354c
File tree 4 files changed +0
-19
lines changed
editor/src/components/editor
4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -1104,11 +1104,6 @@ export interface RunEscapeHatch {
1104
1104
setHuggingParentToFixed : SetHuggingParentToFixed
1105
1105
}
1106
1106
1107
- export interface SetElementsToRerender {
1108
- action : 'SET_ELEMENTS_TO_RERENDER'
1109
- value : ElementsToRerender
1110
- }
1111
-
1112
1107
export type ToggleSelectionLock = {
1113
1108
action : 'TOGGLE_SELECTION_LOCK'
1114
1109
targets : Array < ElementPath >
@@ -1376,7 +1371,6 @@ export type EditorAction =
1376
1371
| SetResizeOptionsTargetOptions
1377
1372
| ForceParseFile
1378
1373
| RunEscapeHatch
1379
- | SetElementsToRerender
1380
1374
| ToggleSelectionLock
1381
1375
| UpdateAgainstGithub
1382
1376
| SetImageDragSessionState
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ export function isTransientAction(action: EditorAction): boolean {
119
119
case 'UPDATE_INTERACTION_SESSION' :
120
120
case 'UPDATE_DRAG_INTERACTION_DATA' :
121
121
case 'SET_USERS_PREFERRED_STRATEGY' :
122
- case 'SET_ELEMENTS_TO_RERENDER' :
123
122
case 'TOGGLE_SELECTION_LOCK' :
124
123
case 'UPDATE_GITHUB_OPERATIONS' :
125
124
case 'SET_REFRESHING_DEPENDENCIES' :
Original file line number Diff line number Diff line change @@ -251,7 +251,6 @@ import type {
251
251
SetCodeEditorVisibility ,
252
252
SetCurrentTheme ,
253
253
SetCursorOverlay ,
254
- SetElementsToRerender ,
255
254
SetFilebrowserDropTarget ,
256
255
SetFilebrowserRenamingTarget ,
257
256
SetFocusedElement ,
@@ -5756,15 +5755,6 @@ export const UPDATE_FNS = {
5756
5755
return editor
5757
5756
}
5758
5757
} ,
5759
- SET_ELEMENTS_TO_RERENDER : ( action : SetElementsToRerender , editor : EditorModel ) : EditorModel => {
5760
- return {
5761
- ...editor ,
5762
- canvas : {
5763
- ...editor . canvas ,
5764
- elementsToRerender : action . value ,
5765
- } ,
5766
- }
5767
- } ,
5768
5758
TOGGLE_SELECTION_LOCK : ( action : ToggleSelectionLock , editor : EditorModel ) : EditorModel => {
5769
5759
const targets = action . targets
5770
5760
return targets . reduce ( ( working , target ) => {
Original file line number Diff line number Diff line change @@ -447,8 +447,6 @@ export function runSimpleLocalEditorAction(
447
447
return UPDATE_FNS . FORCE_PARSE_FILE ( action , state )
448
448
case 'RUN_ESCAPE_HATCH' :
449
449
return UPDATE_FNS . RUN_ESCAPE_HATCH ( action , state , builtInDependencies )
450
- case 'SET_ELEMENTS_TO_RERENDER' :
451
- return UPDATE_FNS . SET_ELEMENTS_TO_RERENDER ( action , state )
452
450
case 'TOGGLE_SELECTION_LOCK' :
453
451
return UPDATE_FNS . TOGGLE_SELECTION_LOCK ( action , state )
454
452
case 'UPDATE_AGAINST_GITHUB' :
You can’t perform that action at this time.
0 commit comments