diff --git a/README.md b/README.md index 83a00b0..7ca6ea9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Then save your beautiful work by taking a screenshot. 6. `Super + Alt + D` to test 7. [https://framagit.org/abakkk/DrawOnYourScreen/issues](https://framagit.org/abakkk/DrawOnYourScreen/issues) to say it doesn't work -## Details +## Tips and tricks * Draw arrows: @@ -44,6 +44,10 @@ Then save your beautiful work by taking a screenshot. Add your images (jpeg, png, svg) to `~/.local/share/drawOnYourScreen/images/`. +* Eraser and SVG: + + There is no eraser in SVG so when you export elements made with the eraser to a SVG file, they are colored with the background color, transparent if it is disabled. See `“Add a drawing background”` or edit the SVG file afterwards. + * Screenshot Tool extension: [Screenshot Tool](https://extensions.gnome.org/extension/1112/screenshot-tool/) is a convenient extension to “create, copy, store and upload screenshots”. In order to select a screenshoot area with your pointer while keeping the drawing in place, you need first to tell DrawOnYourScreen to ungrab the pointer (`Ctrl + Super + Alt + D`). diff --git a/locale/draw-on-your-screen.pot b/locale/draw-on-your-screen.pot index e279645..a348150 100644 --- a/locale/draw-on-your-screen.pot +++ b/locale/draw-on-your-screen.pot @@ -404,12 +404,6 @@ msgstr "" msgid "Show help" msgstr "" -msgid "" -"When you save elements made with eraser in a SVG file, " -"they are colored with background color, transparent if it is disabled.\n" -"See “%s” or edit the SVG file afterwards." -msgstr "" - msgid "Screenshot" msgstr "" diff --git a/prefs.js b/prefs.js index 7e192cb..c5c1cfc 100644 --- a/prefs.js +++ b/prefs.js @@ -437,7 +437,7 @@ const PrefsPage = new GObject.Class({ let internalFrame = new Frame({ label: _("Internal"), desc: _("In drawing mode") }); box.add(internalFrame); - listBox = new Gtk.ListBox({ selection_mode: 0, hexpand: true, margin_top: MARGIN }); + listBox = new Gtk.ListBox({ selection_mode: 0, hexpand: true, margin_top: MARGIN, margin_bottom: MARGIN / 2 }); listBox.get_style_context().add_class('background'); internalFrame.add(listBox); @@ -466,20 +466,6 @@ const PrefsPage = new GObject.Class({ listBox.add(internalKeybindingsWidget); }); - let noteBox = new Gtk.Box({ margin: MARGIN }); - let noteLabel = new Gtk.Label({ - wrap: true, - xalign: 0, - use_markup: true, - label: _("When you save elements made with eraser in a SVG file, " + - "they are colored with background color, transparent if it is disabled.\n" + - "See “%s” or edit the SVG file afterwards.").format(_("Add a drawing background")) - }); - noteLabel.set_halign(1); - noteLabel.get_style_context().add_class('dim-label'); - noteBox.pack_start(noteLabel, true, true, 4); - listBox.add(noteBox); - listBox.get_children().forEach(row => row.set_activatable(false)); } });