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 () {
509509 this . state . height = this . chart . clientHeight ;
510510 this . state . width = this . chart . clientWidth ;
511511
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+
512517 this . reinitializeChart ( ) ;
513518 } catch ( err ) {
514519 if ( err instanceof ValidationError ) {
Original file line number Diff line number Diff line change 424424 originates, and once after going back to C++) - but when
425425 WebSockets is false, the JS will only be emitted once.
426426 -->
427- <web-sockets >false </web-sockets >
427+ <web-sockets >true </web-sockets >
428428
429429 <!-- Enables the detection of webgl-capabilites.
430430
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 )
964964 const Wt::Json::Value &val = base.get ( " ProxySetting" );
965965 if ( val.type () != Wt::Json::Type::StringType )
966966 throw runtime_error ( " ProxySetting must be a string value" );
967- config.m_proxy = val.toString ( );
967+ config.m_proxy = val.orIfNull ( " " );
968968 }
969969#endif
970970
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ set( ELECTRON_SUPPORT_FILES
4747 app/loading.html
4848 README.md
4949 package.json
50- app/launch_options.json
5150)
5251
5352add_custom_target ( electron_resources SOURCES ${ELECTRON_SUPPORT_FILES} )
@@ -69,7 +68,6 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/LibInterSpec/InterSpec_resources/d3.v
6968install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /../../example_spectra DESTINATION ${PROJECT_BINARY_DIR} /app/ )
7069install ( FILES ${CMAKE_CURRENT_SOURCE_DIR} /app/loading.html
7170 ${CMAKE_CURRENT_SOURCE_DIR} /app/main.js
72- ${CMAKE_CURRENT_SOURCE_DIR} /app/launch_options.json
7371 DESTINATION ${PROJECT_BINARY_DIR} /app/
7472)
7573
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7070 <key >LSApplicationCategoryType </key >
7171 <string >public.app-category.developer-tools </string >
7272 <key >LSMinimumSystemVersion </key >
73- <string >10.9 .0 </string >
73+ <string >10.11 .0 </string >
7474 <key >NSHighResolutionCapable </key >
7575 <true />
7676 <key >NSMainNibFile </key >
Original file line number Diff line number Diff line change 2626 "cmake-js" : " ^6.1.0"
2727 },
2828 "devDependencies" : {
29- "electron" : " ^21.4.3 " ,
29+ "electron" : " ^21.4.4 " ,
3030 "electron-packager" : " ^17.1.1" ,
3131 "node-addon-api" : " ^6.0.0"
3232 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ SET(MACOSX_BUNDLE_BUNDLE_VERSION "0" )
2020SET (MACOSX_BUNDLE_COPYRIGHT "Sandia National Labs, Will Johnson" )
2121SET (MACOSX_BUNDLE_GUI_IDENTIFIER "gov.sandia.macOS.InterSpec" )
2222#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 )
2424
2525
2626SET ( ${PRODUCT_NAME} "InterSpec" )
You can’t perform that action at this time.
0 commit comments