Skip to content

Commit

Permalink
Trying to fix dragging thing on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Erallie committed Dec 11, 2024
1 parent ac5d196 commit 478dfbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/rating-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export class RatingView extends Modal {
for (let i = 0; i < thisComp.maxValue; i++) { // Create ratingStrokes
// ratingStrokes[i] = rating.createEl('span', { text: setDefaultStroke(i), cls: setDefaultClass(i) });
ratingStrokes[i] = rating.createSpan();
ratingStrokes[i].setAttribute('draggable', 'false');
setDefaultStroke(i, ratingStrokes[i]);
// ratingStrokes[i] = rating.appendChild(setDefaultStroke(i));
ratingStrokes[i].id = `rating-${i}`;
Expand Down

0 comments on commit 478dfbd

Please sign in to comment.