mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
[Organization] Hide button when a page is selected
This commit is contained in:
parent
3f9d8f380f
commit
7ae60e41a8
@ -422,7 +422,7 @@ var updatePageState = function(page) {
|
|||||||
page.querySelector('.canvas-pdf').style.opacity = '0.15';
|
page.querySelector('.canvas-pdf').style.opacity = '0.15';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isPageHover(page) && !isPageDeleted(page) && !isPageDragged(page) && !isDraggedMode()) {
|
if(isPageHover(page) && !isPageDeleted(page) && !isPageDragged(page) && !isPageSelected(page) && !isDraggedMode()) {
|
||||||
page.querySelector('.page-title').classList.remove('d-none');
|
page.querySelector('.page-title').classList.remove('d-none');
|
||||||
page.classList.add('border-secondary', 'bg-secondary');
|
page.classList.add('border-secondary', 'bg-secondary');
|
||||||
page.classList.remove('border-transparent', 'bg-transparent');
|
page.classList.remove('border-transparent', 'bg-transparent');
|
||||||
|
Loading…
Reference in New Issue
Block a user