mirror of
https://github.com/bitgapp/eqMac.git
synced 2024-11-22 13:07:26 +03:00
changes to components
This commit is contained in:
parent
d9b77c9588
commit
1a012a2c0b
@ -137,7 +137,7 @@ export class KnobComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
if (this.dragging) {
|
||||
this.continueAnimation = false
|
||||
const change = -event.movementY / (100 / this.max)
|
||||
const change = (-event.movementY + event.movementX) / (100 / this.max)
|
||||
this.value += change
|
||||
this.userChangedValue.emit({ value: this.value })
|
||||
}
|
||||
|
@ -23,8 +23,7 @@ export interface SkeuomorphSliderValueChangedEvent {
|
||||
@Component({
|
||||
selector: 'eqm-skeuomorph-slider',
|
||||
templateUrl: './skeuomorph-slider.component.html',
|
||||
styleUrls: [ './skeuomorph-slider.component.scss' ],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
styleUrls: [ './skeuomorph-slider.component.scss' ]
|
||||
})
|
||||
export class SkeuomorphSliderComponent implements OnInit, OnDestroy {
|
||||
constructor (
|
||||
|
Loading…
Reference in New Issue
Block a user