last worked in drag v2
This commit is contained in:
@@ -106,7 +106,7 @@ import Layout from '../../layouts/Layout.astro';
|
||||
this.load.image('outline', assetsList.image);
|
||||
this.load.image('topLogo', '/assets/top_logo.png');
|
||||
this.load.svg('buttonIcons', '/assets/svg/button-icon.svg');
|
||||
this.load.svg('cursorImage', '/assets/svg/pencil.svg')
|
||||
this.load.svg('cursorImage', '/assets/svg/pencil.svg');
|
||||
}
|
||||
|
||||
function create() {
|
||||
@@ -383,13 +383,17 @@ import Layout from '../../layouts/Layout.astro';
|
||||
});
|
||||
// Add the Clear and Eraser buttons to the container
|
||||
buttonsContainer.appendChild(clearButton);
|
||||
buttonsContainer.appendChild(eraserButton);
|
||||
// buttonsContainer.appendChild(eraserButton).setVisible;
|
||||
|
||||
const sliderContainer = document.createElement('div');
|
||||
sliderContainer.className = 'slider-container';
|
||||
// sliderContainer.style.position = 'absolute';
|
||||
// sliderContainer.style.top = '25%';
|
||||
sliderContainer.style.left = '100%';
|
||||
if(!isMobile){
|
||||
sliderContainer.style.marginLeft = '-75px'
|
||||
sliderContainer.style.marginTop = '15px'
|
||||
}
|
||||
|
||||
// Create the slider
|
||||
const slider = document.createElement('input');
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user