File tree Expand file tree Collapse file tree 8 files changed +10
-20
lines changed Expand file tree Collapse file tree 8 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -509,6 +509,11 @@ D3TimeChart.prototype.handleResize = function () {
509
509
this . state . height = this . chart . clientHeight ;
510
510
this . state . width = this . chart . clientWidth ;
511
511
512
+ // TODO: switch to getting dimensions via the following; seems to work better
513
+ //const parentRect = this.chart.getBoundingClientRect();
514
+ //this.state.height = parentRect.width;
515
+ //this.state.width = parentRect.height;
516
+
512
517
this . reinitializeChart ( ) ;
513
518
} catch ( err ) {
514
519
if ( err instanceof ValidationError ) {
Original file line number Diff line number Diff line change 424
424
originates, and once after going back to C++) - but when
425
425
WebSockets is false, the JS will only be emitted once.
426
426
-->
427
- <web-sockets >false </web-sockets >
427
+ <web-sockets >true </web-sockets >
428
428
429
429
<!-- Enables the detection of webgl-capabilites.
430
430
Original file line number Diff line number Diff line change @@ -964,7 +964,7 @@ std::string file_to_open_on_load( const std::string &session_token )
964
964
const Wt::Json::Value &val = base.get ( " ProxySetting" );
965
965
if ( val.type () != Wt::Json::Type::StringType )
966
966
throw runtime_error ( " ProxySetting must be a string value" );
967
- config.m_proxy = val.toString ( );
967
+ config.m_proxy = val.orIfNull ( " " );
968
968
}
969
969
#endif
970
970
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ set( ELECTRON_SUPPORT_FILES
47
47
app/loading.html
48
48
README.md
49
49
package.json
50
- app/launch_options.json
51
50
)
52
51
53
52
add_custom_target ( electron_resources SOURCES ${ELECTRON_SUPPORT_FILES} )
@@ -69,7 +68,6 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/LibInterSpec/InterSpec_resources/d3.v
69
68
install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /../../example_spectra DESTINATION ${PROJECT_BINARY_DIR} /app/ )
70
69
install ( FILES ${CMAKE_CURRENT_SOURCE_DIR} /app/loading.html
71
70
${CMAKE_CURRENT_SOURCE_DIR} /app/main.js
72
- ${CMAKE_CURRENT_SOURCE_DIR} /app/launch_options.json
73
71
DESTINATION ${PROJECT_BINARY_DIR} /app/
74
72
)
75
73
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 70
70
<key >LSApplicationCategoryType </key >
71
71
<string >public.app-category.developer-tools </string >
72
72
<key >LSMinimumSystemVersion </key >
73
- <string >10.9 .0 </string >
73
+ <string >10.11 .0 </string >
74
74
<key >NSHighResolutionCapable </key >
75
75
<true />
76
76
<key >NSMainNibFile </key >
Original file line number Diff line number Diff line change 26
26
"cmake-js" : " ^6.1.0"
27
27
},
28
28
"devDependencies" : {
29
- "electron" : " ^21.4.3 " ,
29
+ "electron" : " ^21.4.4 " ,
30
30
"electron-packager" : " ^17.1.1" ,
31
31
"node-addon-api" : " ^6.0.0"
32
32
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ SET(MACOSX_BUNDLE_BUNDLE_VERSION "0" )
20
20
SET (MACOSX_BUNDLE_COPYRIGHT "Sandia National Labs, Will Johnson" )
21
21
SET (MACOSX_BUNDLE_GUI_IDENTIFIER "gov.sandia.macOS.InterSpec" )
22
22
#set MACOS_BUNDLE_VERSION_NUMBER for Info.plist.template to populate corresponding value in Xcode
23
- set (MACOS_BUNDLE_VERSION_NUMBER 30 )
23
+ set (MACOS_BUNDLE_VERSION_NUMBER 35 )
24
24
25
25
26
26
SET ( ${PRODUCT_NAME} "InterSpec" )
You can’t perform that action at this time.
0 commit comments