Skip to content

Commit

Permalink
How to code it later
Browse files Browse the repository at this point in the history
Change fine navigation alternative for non small pointer devices #180
  • Loading branch information
Xavier Mouton-Dubosc committed Sep 26, 2022
1 parent eb0d219 commit a3297ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/element_cpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ export class CPU_element_api {
if (isAudiotagStreamed(this.audiotag)) {
return;
}
// For resolving #180 , <details>.open != <details>.open will do the trick
this.container.classList.toggle('show-handheld-nav');
event?.preventDefault();
}
Expand Down Expand Up @@ -865,6 +866,7 @@ export class CPU_element_api {
if (panel !== false) {
// we have to create the panel area
const plane_panel = document.createElement('details');
// TODO #180 : We may be able to hide by default, or have de details closed
plane_panel.open = true;
plane_panel.id = `panel_«${planeName}»`;
if (panel !== true) {
Expand Down

0 comments on commit a3297ac

Please sign in to comment.