mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-02 19:42:40 +00:00
Fixed selecting the correct dot
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
transition: transform 0.2s;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
&.primary {
|
||||
&:first-of-type {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-width: 3px;
|
||||
|
||||
@@ -309,7 +309,6 @@
|
||||
existingPrimaryDot.ID = this.dots.length;
|
||||
existingPrimaryDot.element.classList.remove('primary');
|
||||
}
|
||||
dot.classList.add('primary');
|
||||
}
|
||||
|
||||
const colorFromPos = this.getColorFromPosition(relativePosition.x, relativePosition.y);
|
||||
|
||||
Reference in New Issue
Block a user