Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions studio/src/app/pages/editor/app-editor/app-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import {debounce, isFullscreen, isIOS, isMobile} from '@deckdeckgo/utils';

import {convertStyle} from '@deckdeckgo/deck-utils';

import {generateRandomStyleColors} from '../../../utils/editor/random-palette';

import {AuthUser} from '../../../models/auth/auth.user';
import {SlideTemplate} from '../../../models/data/slide';

Expand Down Expand Up @@ -242,8 +240,6 @@ export class AppEditor {

await this.concatSlide(slide);

await this.initRandomDeckStyle();

resolve();
});
}
Expand All @@ -267,10 +263,6 @@ export class AppEditor {
});
}

private async initRandomDeckStyle() {
this.style = await generateRandomStyleColors();
}

private async initDeckStyle() {
if (deckStore.state.deck && deckStore.state.deck.data && deckStore.state.deck.data.attributes && deckStore.state.deck.data.attributes.style) {
this.style = await convertStyle(deckStore.state.deck.data.attributes.style);
Expand Down
118 changes: 0 additions & 118 deletions studio/src/app/utils/editor/random-palette.tsx

This file was deleted.