fix: progress polygon when progress = 0
This commit is contained in:
parent
6e2f91db25
commit
218818619c
@ -174,7 +174,7 @@ export default class Bar {
|
|||||||
append_to: this.handle_group,
|
append_to: this.handle_group,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.task.progress && this.task.progress < 100) {
|
if (this.task.progress < 100) {
|
||||||
this.$handle_progress = createSVG('polygon', {
|
this.$handle_progress = createSVG('polygon', {
|
||||||
points: this.get_progress_polygon_points().join(','),
|
points: this.get_progress_polygon_points().join(','),
|
||||||
class: 'handle progress',
|
class: 'handle progress',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user