[gnome-maps/wip/mlundblad/local-tile-size-option: 3/3] mapView: Use custom local tile size when set
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/local-tile-size-option: 3/3] mapView: Use custom local tile size when set
- Date: Sat, 18 Apr 2020 21:34:26 +0000 (UTC)
commit 77b11ee2a66b2d3a988cc95fa87b0362c29577de
Author: Marcus Lundblad <ml update uu se>
Date: Sat Apr 18 16:03:21 2020 +0200
mapView: Use custom local tile size when set
src/mapView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 6183b164..fcf4481d 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -339,7 +339,7 @@ var MapView = GObject.registerClass({
let source = new Maps.FileTileSource({
path: Utils.getBufferText(Application.application.local_tile_path),
renderer: renderer,
- tile_size: 512
+ tile_size: Application.application.local_tile_size || 512
});
try {
source.prepare();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]