Commit Graph

350 Commits

Author SHA1 Message Date
abakkk 8288ead3c3 minor 2019-03-28 22:49:28 +01:00
abakkk 26d27a6048 Merge branch 'dev' into 'master'
Dev

See merge request abakkk/DrawOnYourScreen!2
2019-03-28 22:26:42 +01:00
abakkk ec2408043f change middle click
middle click: toggle fill
remove toggleShape method
update prefs and .pot
2019-03-28 22:15:31 +01:00
abakkk d2c285154b add panel indicator and prefs to disable osd notifications and indicator 2019-03-28 22:01:39 +01:00
abakkk 14205295fc add svg attributes in pot 2019-03-28 15:26:10 +01:00
abakkk 82c45f4cc1 rework of prefs 2019-03-28 14:59:14 +01:00
abakkk 695c5a09d9 rework text shape before writing 2019-03-28 02:00:57 +01:00
abakkk a89e1d9d70 Merge branch 'dev-context-menu' into 'master'
Dev context menu

See merge request abakkk/DrawOnYourScreen!1
2019-03-28 00:24:43 +01:00
abakkk 1b799da43d minor, initialize fill when leaving, as other properties 2019-03-28 00:17:13 +01:00
abakkk f7997b9336 line section and font section visibility depends on shape and fill 2019-03-27 22:11:51 +01:00
abakkk 2a0c6536f2 complete context menu implementation (27ea6a8be9)
1. close menu when leaving drawing mode
2. open menu with 'popup-menu' key (doesn't work for closing)
3. update 'disable' methods
2019-03-27 14:23:34 +01:00
abakkk c04dd01b44 change prefs and helper order, to be the same as in the menu 2019-03-27 01:07:20 +01:00
abakkk 05e6c7b33f reinstate fill and change dashed shortcut 2019-03-27 00:59:48 +01:00
abakkk 27ea6a8be9 add context menu 2019-03-26 22:28:24 +01:00
abakkk 9f74d2bd57 change version 2019-03-17 03:18:20 +01:00
abakkk 7712a7a92e wrap around global.play_theme_sound() removal
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/327
2019-03-17 00:59:49 +01:00
abakkk 764d18a090 replace DrawingArea._onStyleChanged() by DrawingArea._updateStyle()
In test of gnome-shell 32 (in VM), 'style-changed' was regularly emitted
during drawing, so all 'this.current...' style properties was
initialized and it was impossible to select style with 'Ctrl+...'
shortcuts.
Now style is gathered on drawing mode entered, which is by the way more
frugal.
Keep watch possible regressions.
2019-03-16 12:35:14 +01:00
abakkk e3788ba37f empty json file after erasing all drawings 2019-03-15 12:45:20 +01:00
abakkk db447b1f5b add markup in osd labels 2019-03-12 23:37:34 +01:00
abakkk da32878df4 update readme 2019-03-12 13:10:13 +01:00
abakkk da52cfa260 Drawing is hidden by default when leaving drawing mode
It doesn't stay on top of windows because of problems with "desktop"
extensions.
2019-03-12 00:29:14 +01:00
abakkk 72292c41f6 hide container when area is empty 2019-03-11 19:07:01 +01:00
abakkk 4e15c42b86 fix helper scrollbar visibility 2019-03-11 18:24:10 +01:00
abakkk 3dd6507d36 fix toggleSquare 2019-03-11 18:08:19 +01:00
abakkk 2b25958d8c add persistence feature 2019-03-11 17:53:35 +01:00
abakkk 0c17e2cfbe move-drawing-on-desktop pref 2019-03-10 22:16:11 +01:00
abakkk 9e6b58d3da fix multi-monitor
1. in removeArea, remove area container from the right parent and do not
remove and destroy helper since helper is child of container (15556e40f4)

2. do not set area and helper position to monitor position value, since their position is relative to the container (that already have the monitor position)
2019-03-10 15:33:38 +01:00
abakkk 15556e40f4 Fix issue #1
In inactive state, drawing area was over other ui widgets and
prevented drag-and-drop. Now we put the drawing area above windows and
below overviewGroup.
2019-03-10 13:05:38 +01:00
abakkk 39301d9367 fix commit 743d8d7644
Problems with "free drawing" when the brushstroke is very very fast
2019-03-08 13:04:45 +01:00
abakkk 3ebcec5a68 escape key: leave and erase => leave and hide 2019-03-08 12:41:38 +01:00
abakkk 91bb4b26a7 review disable 2019-03-08 12:28:03 +01:00
abakkk 743d8d7644 skip when the size is too small to be visible (3px) 2019-03-08 12:01:19 +01:00
abakkk 26ae9fd784 change class name to avoid potential conflicts with other extensions 2019-03-08 11:37:59 +01:00
abakkk f65379c8e1 "credits" -> "author" 2019-03-07 19:45:19 +01:00
abakkk 0de553c748 remind system screenshort shortcuts in helper 2019-03-07 19:22:19 +01:00
abakkk dbdb35a677 minor readme 2019-03-07 16:42:19 +01:00
abakkk 0e2360591c add square area 2019-03-07 16:32:06 +01:00
abakkk 8718e219a2 Add transformations
by pressing Ctrl key
rectangle and text: rotate
circle: extend (ellipse) and rotate
line: cubic Bezier curve
2019-03-07 14:28:35 +01:00
abakkk 220bf0143c do not keep empty text elements when stopping writing 2019-03-06 04:29:46 +01:00
abakkk b7ae69020a add stroke-opacity and fill-opacity because some archaic svg viewer
don't understand "transparent"
2019-03-06 01:36:23 +01:00
abakkk 3d4830b67c use global.screen.set_cursor for old GS 2019-03-06 01:19:37 +01:00
abakkk 1abc7f6dc2 minor readme 2019-03-05 23:25:41 +01:00
abakkk 33ff760409 minor readme 2019-03-05 23:08:11 +01:00
abakkk c1e257744a minor readme 2019-03-05 22:57:16 +01:00
abakkk d7c466b3d2 add title to readme 2019-03-05 22:53:56 +01:00
abakkk 86d70eb444 add readme 2019-03-05 22:52:01 +01:00
abakkk 9594ec3c69 minor 2019-03-05 22:00:14 +01:00
abakkk c59f499b4c add smooth feature 2019-03-05 21:08:43 +01:00
abakkk 7f9a3195b4 init 2019-03-05 12:36:59 +01:00
abakkk 1f67bc15af Add LICENSE 2019-02-24 00:42:23 +01:00