Skip to content

Commit e6286c3

Browse files
committed
1.0.25
1 parent b2e0245 commit e6286c3

6 files changed

Lines changed: 894 additions & 913 deletions

File tree

app/document/ui/ui.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,18 @@ function hide_scrollbars(value) {
168168
}
169169

170170
function current_zoom_factor() {
171-
return parseFloat(electron.remote.getCurrentWebContents().getZoomFactor().toFixed(1));
171+
return parseFloat(electron.remote.getCurrentWebContents().zoomFactor.toFixed(1));
172172
}
173173

174174
function set_zoom(factor) {
175175
const zoom_element = $("zoom");
176-
electron.remote.getCurrentWebContents().setZoomFactor(factor);
176+
electron.remote.getCurrentWebContents().zoomFactor = factor;
177177
zoom_element.textContent = `${Math.ceil(factor * 10) * 10}%`;
178178
zoom_element.classList.remove("fade");
179179
document.body.removeChild(zoom_element);
180180
document.body.appendChild(zoom_element);
181181
zoom_element.classList.add("fade");
182-
send("update_menu_checkboxes", {actual_size: (electron.remote.getCurrentWebContents().getZoomFactor() == 1)});
182+
send("update_menu_checkboxes", {actual_size: (electron.remote.getCurrentWebContents().zoomFactor == 1)});
183183
}
184184

185185
function zoom_in() {

build/ans/changelog.ans

91 Bytes
Binary file not shown.

docs/latest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.0.24"
2+
"version": "1.0.25"
33
}

electron-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ directories:
33
buildResources: build
44
appId: org.blocktronics.moebius
55
productName: Moebius
6-
copyright: Copyright © 2019 Andy Herbert
6+
copyright: Copyright © 2020 Andy Herbert
77
extraResources:
88
- from: build/ans
99
to: ans
@@ -52,4 +52,4 @@ linux:
5252
target: deb
5353
description: Moebius is a new ANSI and ASCII Editor for Linux, MacOS, and Windows. The major feature that differentiates it from PabloDraw is the 'half-block' brush which allows editing in a style closer to Photoshop than a text editor, although you can still use the function and cursor keys to draw with, and you should find that most of the text editing features from PabloDraw are carried over to this editor.
5454
category: Graphics
55-
electronVersion: 7.0.1
55+
electronVersion: 8.2.5

0 commit comments

Comments
 (0)