Skip to content

Commit 7a9ca2e

Browse files
committed
fixes to UI build
1 parent b070884 commit 7a9ca2e

8 files changed

Lines changed: 18 additions & 16 deletions

File tree

ui/src/app/components/options/options.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export interface InputOption extends BaseOptions {
8686
interface SliderOption extends BaseOptions {
8787
value: number
8888
min?: number
89-
midle?: number
89+
middle?: number
9090
max?: number
9191
animationDuration?: number
9292
animationFps?: number

ui/src/app/modules/eqmac-components/components/dropdown/dropdown.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<eqm-icon [name]="'cross'" [height]="16" [width]="16" color="#4f8d71"></eqm-icon>
1111
</div>
1212
<div class="right" *ngIf="!searchText" (click)="editable ? toggle($event) : undefined">
13-
<eqm-icon [name]="'triangle'" [height]="8" [width]="8" [color]="items.length ? '#4f8d71' : '#555'" rotate="-90">
13+
<eqm-icon [name]="'triangle'" [height]="8" [width]="8" [color]="items.length ? '#4f8d71' : '#555'" [rotate]="-90">
1414
</eqm-icon>
15-
<eqm-icon [name]="'triangle'" [height]="8" [width]="8" [color]="items.length ? '#4f8d71' : '#555'" rotate="90">
15+
<eqm-icon [name]="'triangle'" [height]="8" [width]="8" [color]="items.length ? '#4f8d71' : '#555'" [rotate]="90">
1616
</eqm-icon>
1717
</div>
1818
</eqm-container>

ui/src/app/modules/eqmac-components/components/dropdown/dropdown.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export class DropdownComponent implements OnInit {
3333
@Output() refChanged = new EventEmitter<DropdownComponent>()
3434
@HostBinding('class.disabled') @Input() disabled = false
3535
@Input() selectedItem = null
36+
@Output() selectedItemChange = new EventEmitter<any>()
3637
@Input() labelParam = 'text'
3738
@Input() numberOfVisibleItems = 6
3839
@Input() placeholder = 'Select item'
@@ -123,6 +124,7 @@ export class DropdownComponent implements OnInit {
123124

124125
selectItem (item) {
125126
this.selectedItem = item
127+
this.selectedItemChange.emit(item)
126128
this.itemSelected.emit(item)
127129
if (this.closeOnSelect) {
128130
this.close()

ui/src/app/modules/eqmac-components/components/question/question.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'
22

33
@Component({
44
selector: 'eqm-question',
5-
template: '<eqm-icon stroke="0" color="#c9cdd0" width="8" height="8" name="help"></eqm-icon>',
5+
template: '<eqm-icon [stroke]="0" color="#c9cdd0" [width]="8" [height]="8" name="help"></eqm-icon>',
66
styles: [ ':host { height: 12px; width: 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: #2c2c2e; }' ]
77
})
88
export class QuestionComponent implements OnInit {

ui/src/app/sections/effects/equalizers/equalizers.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
[disabled]="!enabled"
2626
*ngIf="activeEqualizer && activeEqualizer.settings.length"
2727
eqmTooltip="Settings" eqmTooltipPositionSide="bottom">
28-
<eqm-icon name="cog" color="#8E8E93" width="14" height="14"></eqm-icon>
28+
<eqm-icon name="cog" color="#8E8E93" [width]="14" [height]="14"></eqm-icon>
2929
</eqm-button>
3030

3131
<!-- <eqm-icon (click)="toggleVisibility()" [name]="hide ? 'show' : 'hide'"></eqm-icon> -->

ui/src/app/sections/header/header.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
(mouseenter)="setShowBoolean('showLeftIcons', true)" (mouseleave)="setShowBoolean('showLeftIcons', false)"
55
>
66
<div class="circle-button left" fxLayout="row" fxLayoutAlign="center center" (click)="close()">
7-
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] stroke=3 strokeColor="#2E2E2E" color="#2E2E2E" width="8" height="8" name="cross"></eqm-icon>
7+
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] [stroke]=3 strokeColor="#2E2E2E" color="#2E2E2E" [width]="8" [height]="8" name="cross"></eqm-icon>
88
</div>
99
<div class="circle-button left" fxLayoutAlign="center center" (click)="hide()">
10-
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] color="#2E2E2E" width="8" height="8" name="minus"></eqm-icon>
10+
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] color="#2E2E2E" [width]="8" [height]="8" name="minus"></eqm-icon>
1111
</div>
1212
<div *ngIf="uiMode"
1313
class="circle-button left" fxLayoutAlign="center center"
1414
(click)="toggleUIMode()"
1515
[eqmTooltip]="uiMode === 'window' ? 'Popover mode' : 'Window mode'" eqmTooltipPositionSide="bottom">
16-
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] color="#2E2E2E" width="8" height="8" name="triangle" [rotate]="uiMode == 'window' ? -90 : 90"></eqm-icon>
16+
<eqm-icon *ngIf="showLeftIcons" [@FadeInOut] color="#2E2E2E" [width]="8" [height]="8" name="triangle" [rotate]="uiMode == 'window' ? -90 : 90"></eqm-icon>
1717
</div>
1818
</div>
1919
<eqm-label>eqMac</eqm-label>
@@ -23,17 +23,17 @@
2323
<div class="circle-button right"
2424
fxLayout="row" fxLayoutAlign="center center"
2525
(click)="toggleHelp($event)"
26-
eqmTooltip="Help" eqmTooltipPositionSide="bottom" eqmTooltipDelay="100">
27-
<eqm-icon class="settings" [@FadeInOut] stroke="0" color="#2E2E2E" width="10" height="10" name="help"></eqm-icon>
26+
eqmTooltip="Help" eqmTooltipPositionSide="bottom" [eqmTooltipDelay]="100">
27+
<eqm-icon class="settings" [@FadeInOut] [stroke]="0" color="#2E2E2E" [width]="10" [height]="10" name="help"></eqm-icon>
2828
</div>
2929
<div class="circle-button right"
3030
fxLayout="row" fxLayoutAlign="center center"
3131
(click)="toggleSettings($event)"
32-
eqmTooltip="Settings" eqmTooltipPositionSide="bottom" eqmTooltipDelay="100">
33-
<eqm-icon class="settings" [@FadeInOut] stroke="0" color="#2E2E2E" width="14" height="14" name="spanner-circle"></eqm-icon>
32+
eqmTooltip="Settings" eqmTooltipPositionSide="bottom" [eqmTooltipDelay]="100">
33+
<eqm-icon class="settings" [@FadeInOut] [stroke]="0" color="#2E2E2E" [width]="14" [height]="14" name="spanner-circle"></eqm-icon>
3434
</div>
3535
<div class="circle-button right" fxLayoutAlign="center center" (click)="quit()" eqmTooltip="Quit" eqmTooltipPositionSide="bottom">
36-
<eqm-icon [@FadeInOut] color="#2E2E2E" width="12" height="12" name="quit"></eqm-icon>
36+
<eqm-icon [@FadeInOut] color="#2E2E2E" [width]="12" [height]="12" name="quit"></eqm-icon>
3737
</div>
3838
</div>
3939
</div>

ui/src/app/sections/help/help.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Options } from 'src/app/components/options/options.component'
33
import { ApplicationService, MacInfo } from 'src/app/services/app.service'
44
import { ConstantsService } from 'src/app/services/constants.service'
55
import { version } from '../../../../package.json'
6-
import { UIService } from '../../services/ui.service.js'
6+
import { UIService } from '../../services/ui.service'
77

88
@Component({
99
selector: 'eqm-help',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="file" fxLayout="row" fxFill fxLayoutAlign="space-between center" fxLayoutGap="10px">
22
<eqm-button [disabled]="!selected" size="square" (pressed)="toggleFilePlayback()">
3-
<eqm-icon [name]="playing ? 'pause' : 'triangle'" [height]="playing ? '20' : '25'" [width]="playing ? '20' : '25'"></eqm-icon>
3+
<eqm-icon [name]="playing ? 'pause' : 'triangle'" [height]="playing ? 20 : 25" [width]="playing ? 20 : 25"></eqm-icon>
44
</eqm-button>
55
<div fxLayout="column" fxFill fxFlex="100%" fxLayoutAlign="center start">
66
<eqm-label>{{meta.name || 'Please open an Audio File.' }}</eqm-label>
@@ -10,7 +10,7 @@
1010
</div>
1111
</div>
1212
<eqm-button type="square" (click)="openFile()">
13-
<eqm-icon name="open" height="25" width="25"></eqm-icon>
13+
<eqm-icon name="open" [height]="25" [width]="25"></eqm-icon>
1414
</eqm-button>
1515
</div>
1616

0 commit comments

Comments
 (0)