Commit e672406203417607adc3a98295ca348f78e76791

Authored by Edmar Moretti
1 parent 645c8d0a

Ativação dos botões da barra de rolagem

css/default.css
... ... @@ -12,8 +12,12 @@ Para a barra de rolagem
12 12 }
13 13 .customScrollBar .mCSB_container {
14 14 max-width: 100%;
15   - padding-right: 5px !Important;
  15 + padding-right: 1px !Important;
16 16 }
  17 +.mCS-inset-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  18 + background-color: #094672;
  19 +}
  20 +
17 21 /*
18 22 Utilizado no elemento select
19 23 */
... ...
interface/carto_ol.htm
... ... @@ -708,7 +708,7 @@
708 708 theme: "inset-2",
709 709 axis: "yx",
710 710 scrollbarPosition: "inside",
711   - scrollButtons:{ enable: false },
  711 + scrollButtons:{ enable: true },
712 712 advanced:{ autoExpandHorizontalScroll: true }
713 713 }
714 714 },
... ...
interface/ol.htm
... ... @@ -721,7 +721,7 @@
721 721 theme: "inset-2",
722 722 axis: "yx",
723 723 scrollbarPosition: "inside",
724   - scrollButtons:{ enable: false },
  724 + scrollButtons:{ enable: true },
725 725 advanced:{ autoExpandHorizontalScroll: true }
726 726 }
727 727 },
... ...
interface/openlayersdebug.htm
... ... @@ -721,7 +721,7 @@
721 721 theme: "inset-2",
722 722 axis: "yx",
723 723 scrollbarPosition: "inside",
724   - scrollButtons:{ enable: false },
  724 + scrollButtons:{ enable: true },
725 725 advanced:{ autoExpandHorizontalScroll: true }
726 726 }
727 727 },
... ...
interface/osm.htm
... ... @@ -721,7 +721,7 @@
721 721 theme: "inset-2",
722 722 axis: "yx",
723 723 scrollbarPosition: "inside",
724   - scrollButtons:{ enable: false },
  724 + scrollButtons:{ enable: true },
725 725 advanced:{ autoExpandHorizontalScroll: true }
726 726 }
727 727 },
... ...
interface/osmdebug.htm
... ... @@ -721,7 +721,7 @@
721 721 theme: "inset-2",
722 722 axis: "yx",
723 723 scrollbarPosition: "inside",
724   - scrollButtons:{ enable: false },
  724 + scrollButtons:{ enable: true },
725 725 advanced:{ autoExpandHorizontalScroll: true }
726 726 }
727 727 },
... ...
js/janela.js
... ... @@ -73,14 +73,15 @@ i3GEO.janela =
73 73 theme: "3d-dark",
74 74 axis: "yx",
75 75 scrollbarPosition: "inside",
76   - scrollButtons:{ enable: false },
77   - advanced:{ autoExpandHorizontalScroll: true }
  76 + advanced:{ autoExpandHorizontalScroll: true },
  77 + scrollButtons:{ enable: true }
78 78 },
79 79 /**
80 80 * Cada vez que uma janela flutuante é criada, esse valor é acrescido de 1
81 81 */
82 82 ULTIMOZINDEX : 5,
83 83 //aplica a estilizacao da barra de rolagem
  84 + //https://github.com/malihu/malihu-custom-scrollbar-plugin
84 85 applyScrollBar: function(iddiv,seletor,config) {
85 86 var a = i3GEO.janela.scrollBar;
86 87 if(config){
... ...