Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Made the scrollbars wider, and changed raised the minimimum size of the drag part of the scrollbar

Mike McGannaaa848101d1c
diff --git a/src/css/sote.css b/src/css/sote.css
index dca72faa1..4bf393f9d 100644
--- a/src/css/sote.css
+++ b/src/css/sote.css
@@ -15,7 +15,7 @@ h1, h2, h3, h4, h5, h6 { font-weight:400; }
.yui-skin-sam .yui-panel-container .bd a {color: #82CDFA; }
#splash_c.yui-overlay-hidden, #conclusionPanel_c.yui-overlay-hidden {display:none;}
-.jspVerticalBar {width:5px !important; background:transparent;}
+.jspVerticalBar {width:10px !important; background:transparent;}
.jspTrack {
background: #555555;
} /* or just remove the background property*/
diff --git a/src/js/Worldview/Widget/AddLayers.js b/src/js/Worldview/Widget/AddLayers.js
index f5d24681d..6de16a31f 100644
--- a/src/js/Worldview/Widget/AddLayers.js
+++ b/src/js/Worldview/Widget/AddLayers.js
@@ -131,7 +131,7 @@ Worldview.Widget.AddLayers = function(config, model, projectionModel) {
if ( model.isActive(type, layer.id) ) {
$checkbox.attr("checked", "checked");
};
-
+
$element.append($checkbox);
$element.append($name);
$element.append($description);
@@ -203,6 +203,7 @@ Worldview.Widget.AddLayers = function(config, model, projectionModel) {
}
}
jsp = $("." + self.id + "category").jScrollPane({
+ verticalDragMinHeight: 20,
autoReinitialise: false,
verticalGutter: 0
});
@@ -219,7 +220,7 @@ Worldview.Widget.AddLayers = function(config, model, projectionModel) {
var $target = $(this).find('input:checkbox');
}
if ( $target.is(':checked') ) {
-
+
$target.attr('checked', false);
model.remove($target.attr("data-layer-type"),
$target.attr("data-layer"));