From 8dd671f143f267c8b96c6ff5a1b7e7f569cbb98d Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Mon, 16 Dec 2019 01:10:09 -0500 Subject: [PATCH] Add a database icon for Sync Session --- help/p_database.png | Bin 0 -> 141 bytes src/sessions.js | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 help/p_database.png diff --git a/help/p_database.png b/help/p_database.png new file mode 100755 index 0000000000000000000000000000000000000000..028e21a134a4732db1b4bbaef1e6981675f1231c GIT binary patch literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngj!3HE3xL=O}QX!r$jv*Ss$uL5CLAk2cu{CA6VQAHPgg&ebxsLQ0Lo4%!2kdN literal 0 HcmV?d00001 diff --git a/src/sessions.js b/src/sessions.js index be2a21c..c78397f 100644 --- a/src/sessions.js +++ b/src/sessions.js @@ -382,7 +382,10 @@ if (!image_data_are_equal(image_data_remote, image_data_local)) { ignore_session_update = true; - undoable({name: "Sync Session"}, ()=> { + undoable({ + name: "Sync Session", + icon: get_help_folder_icon("p_database.png"), + }, ()=> { // Write the image data to the canvas ctx.copy(img); $canvas_area.trigger("resize");