This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
studio/src/app/components/editor
app-select-target-element Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class AppSelectTargetElement {
118118 if ( this . slide ) {
119119 return (
120120 < ion-segment-button value = { TargetElement . SLIDE } mode = "md" >
121- < ion-label > Text </ ion-label >
121+ < ion-label > Font </ ion-label >
122122 </ ion-segment-button >
123123 ) ;
124124 } else {
@@ -130,7 +130,7 @@ export class AppSelectTargetElement {
130130 if ( this . textTarget ) {
131131 return (
132132 < ion-segment-button value = { TargetElement . TEXT } mode = "md" >
133- < ion-label > Text </ ion-label >
133+ < ion-label > Font </ ion-label >
134134 </ ion-segment-button >
135135 ) ;
136136 } else {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import {ChartUtils} from '../../../../utils/editor/chart.utils';
99enum ApplyColorType {
1010 FILL ,
1111 STROKE ,
12- TEXT ,
12+ FONT ,
1313 AXIS ,
1414 GRID ,
1515}
@@ -241,7 +241,7 @@ export class AppColorDeckSlide {
241241 const options = [
242242 < ion-select-option value = { ApplyColorType . FILL } > Fill</ ion-select-option > ,
243243 < ion-select-option value = { ApplyColorType . STROKE } > Stroke</ ion-select-option > ,
244- < ion-select-option value = { ApplyColorType . TEXT } > Text </ ion-select-option > ,
244+ < ion-select-option value = { ApplyColorType . FONT } > Font </ ion-select-option > ,
245245 ] ;
246246
247247 if ( this . chartType != SlideChartType . PIE ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import {RangeChangeEventDetail} from '@ionic/core';
44import { ColorUtils , InitStyleColor } from '../../../../utils/editor/color.utils' ;
55
66enum ApplyColorType {
7- TEXT ,
7+ FONT ,
88 BACKGROUND ,
99}
1010
@@ -30,7 +30,7 @@ export class AppColorSides {
3030 private colorOpacity : number = 100 ;
3131
3232 @State ( )
33- private applyColorType : ApplyColorType = ApplyColorType . TEXT ;
33+ private applyColorType : ApplyColorType = ApplyColorType . FONT ;
3434
3535 @Event ( ) colorChange : EventEmitter < void > ;
3636
@@ -177,7 +177,7 @@ export class AppColorSides {
177177 interface = "popover"
178178 mode = "md"
179179 class = "ion-padding-start ion-padding-end" >
180- < ion-select-option value = { ApplyColorType . TEXT } > Text </ ion-select-option > ,
180+ < ion-select-option value = { ApplyColorType . FONT } > Font </ ion-select-option > ,
181181 < ion-select-option value = { ApplyColorType . BACKGROUND } > Background</ ion-select-option > ,
182182 </ ion-select >
183183 </ ion-item >
@@ -214,7 +214,7 @@ export class AppColorSides {
214214 }
215215
216216 private resetLabelContent ( ) {
217- if ( this . applyColorType === ApplyColorType . TEXT ) {
217+ if ( this . applyColorType === ApplyColorType . FONT ) {
218218 return 'Reset text color' ;
219219 } else {
220220 return 'Reset background' ;
You can’t perform that action at this time.
0 commit comments