Skip to content

Commit 2554e18

Browse files
committed
Improve style of overview button
1 parent 928871a commit 2554e18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/viewer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,8 +1793,13 @@ class VolumeImageViewer {
17931793
c => c.type === 'button'
17941794
)
17951795
if (buttonElement) {
1796+
buttonElement.title = 'Overview'
17961797
buttonElement.style.border = '0.25px solid black'
17971798
buttonElement.style.backgroundColor = 'white'
1799+
buttonElement.style.cursor = 'pointer'
1800+
const spanElement = buttonElement.children[0]
1801+
spanElement.style.color = 'black'
1802+
spanElement.style.backgroundColor = 'white'
17981803
}
17991804
overviewmapElement.style.border = '1px solid black'
18001805
overviewmapElement.style.color = 'black'

0 commit comments

Comments
 (0)