Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix(#471): if slide is a poll, first color tab is qr code
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Nov 25, 2019
1 parent 927f557 commit 0b96fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studio/src/app/popovers/editor/app-color/app-color.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class AppColor {
this.chart = this.selectedElement && this.selectedElement.tagName && this.selectedElement.tagName.toUpperCase() === 'deckgo-slide-chart'.toUpperCase();
this.poll = this.selectedElement && this.selectedElement.tagName && this.selectedElement.tagName.toUpperCase() === 'deckgo-slide-poll'.toUpperCase();

this.applyToTargetElement = this.qrCode ? TargetElement.QR_CODE : (this.chart ? TargetElement.CHART : TargetElement.SLIDE);
this.applyToTargetElement = this.qrCode || this.poll ? TargetElement.QR_CODE : (this.chart ? TargetElement.CHART : TargetElement.SLIDE);
}

this.moreColors = !isIPad();
Expand Down

0 comments on commit 0b96fd8

Please sign in to comment.