Skip to content

Commit a295c33

Browse files
committed
update
1 parent 7892167 commit a295c33

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

RELEASE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## *v2.9.2
2+
1. Use a single instance of the software.
3+
2. If viewer/spreadsheet window is open when clicking the viewer menu button it will just focus it instead of opening a new windo.
4+
3. New plot dashboard style to quickly change column directly from the dashboard
5+
4. Improved data communication between main and viewerwindow.
6+
17
## v2.9.1
28
1. Added multiplot surface plot option for the 3D viewer.
39
1. Ranged selector, select intermediate points that are out of the view.

src/js/functions.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const slider = document.getElementById('range')
1515
const thumb = document.getElementById('thumb')
1616
const figurecontainer = document.getElementById("figurecontainer")
1717

18-
// array of JSONs => {data, fName, sName, }
18+
// array of JSONs => {data, fName, sName, savedOnce}
1919
var dataList=[];
20-
// array of JSONs => {dataIndex, col:{x,y,z,s}, lName}
20+
// array of JSONs => {dataIndex, col:{x,y,z,s}}
2121
var traceList=[];
2222

2323
var fullData = [], fullDataCols = [], fileNames = [], saveNames = [], legendNames = [],
@@ -428,7 +428,7 @@ function updateOnServer() {
428428
])
429429
}
430430
viewerWindow.webContents.send("sdata", [s_data, swapped, col.z, data[0].length]);
431-
},500)
431+
},500) // a half second pause before sending the data
432432
}
433433

434434

@@ -732,9 +732,7 @@ function openViewer() {
732732

733733

734734

735-
var minWidth = $(".colBar").width()+30
736-
var curWidth = minWidth
737-
// var minWidth =$(".sideBar").width()*3+30 // window.innerWidth / 4.5
735+
var minWidth, curWidth;
738736

739737
$('#split-bar').mousedown(function (e) {
740738
e.preventDefault();
@@ -856,4 +854,5 @@ function makeRows() {
856854
</div>
857855
</div>`
858856
).join(' '))
857+
curWidth = minWidth = $(".colBar").width()+30
859858
}

0 commit comments

Comments
 (0)