Skip to content

Commit d6ab7a9

Browse files
committed
removed large knob path
1 parent 6fad587 commit d6ab7a9

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eqmac",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"scripts": {
55
"start": "ng serve --port 8080",
66
"build": "rm -rf dist/ && ng build --prod && cd dist/ && zip -r -D ui.zip * -x '*.DS_Store' && cp ui.zip ../../native/app/Embedded",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="slot"></div>
2727
<div class="body"></div>
2828
<div class="cap">
29-
<svg width="58px" height="58px">
29+
<!-- <svg width="58px" height="58px">
3030
<defs>
3131
<clipPath [id]="'large-knob-cap-clip-path-' + id" clipPathUnits="objectBoundingBox" width="58px" height="58px"
3232
[ngStyle]="largeCapClipPathStyle">
@@ -37,8 +37,8 @@
3737
C0.42,0.01,0.46,0,0.5,0c0.04,0,0.09,0.01,0.12,0.02C0.67,0.07,0.73,0.1,0.8,0.1C0.86,0.14,0.91,0.21,0.95,0.28z" />
3838
</clipPath>
3939
</defs>
40-
</svg>
41-
<!-- <div class="cap-body" [ngStyle]="largeCapBodyStyle"></div> -->
40+
</svg> -->
41+
<div class="cap-body" [ngStyle]="largeCapBodyStyle"></div>
4242
<div class="indicator" [ngStyle]="largeCapIndicatorStyle">
4343
<svg class="inner-line" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
4444
y="0px" width="40px" height="40px" viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;"

ui/src/app/modules/eqmac-components/components/knob/knob.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
.cap-body {
7575
@include center();
7676
@include size(58px);
77+
@include circle();
7778
// @include shadow(2px, 0px);
7879

7980
background-image: linear-gradient(to bottom, #51555A, #3C4045);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ export class KnobComponent implements OnInit {
197197

198198
get largeCapBodyStyle () {
199199
return {
200-
'clip-path': `url(#large-knob-cap-clip-path-${this.id})`,
201-
'-webkit-clip-path': `url(#large-knob-cap-clip-path-${this.id})`
200+
// 'clip-path': `url(#large-knob-cap-clip-path-${this.id})`,
201+
// '-webkit-clip-path': `url(#large-knob-cap-clip-path-${this.id})`
202202
}
203203
}
204204

0 commit comments

Comments
 (0)