Antonio Scandurra
50088b16c9
Honor macOS "Show scrollbars only when scrolling" setting
...
Previously, we were hiding scrollbars when their height/width was 0. On
macOS, however, users can decide to only show scrollbars while
scrolling, which causes Atom to detect scrollbars as being invisible
during measurements. As a result, we were mistakenly setting the
visibility property to `hidden` when this setting was on, thus
preventing users from seeing the scrollbar on scroll.
With this commit we are changing the dummy scrollbar components to only
become invisible when the content is not scrollable rather than when the
scrollbars have zero width or height.
As part of this, we have also renamed the
`is{Horizontal,Vertical}ScrollbarVisible` functions to
`canScroll{Horizontally,Vertically}`, to better express their intent.
2017-08-30 17:11:40 +02:00
..
2017-08-24 13:52:52 +09:00
2017-07-17 10:56:49 -07:00
2017-08-01 15:08:06 -04:00
2017-01-12 16:04:02 -08:00
2017-03-10 16:49:53 +01:00
2017-03-17 12:40:38 +01:00
2016-10-24 22:41:55 -07:00
2017-01-19 15:59:29 -08:00
2016-08-01 17:03:06 -07:00
2017-02-27 16:45:57 +01:00
2016-08-24 18:08:25 -07:00
2017-08-25 15:46:43 -07:00
2017-08-28 14:49:54 -07:00
2017-05-19 10:23:13 +02:00
2017-08-03 15:32:40 -04:00
2017-03-17 17:40:08 +01:00
2017-08-17 09:52:56 -06:00
2017-05-03 14:21:23 +02:00
2017-06-27 16:20:33 -07:00
2015-03-19 11:48:40 -07:00
2017-05-05 09:29:29 +02:00
2017-06-27 16:20:33 -07:00
2017-02-18 11:32:44 +03:00
2017-03-10 10:37:50 -08:00
2015-09-22 10:37:09 -06:00
2015-06-03 09:19:57 -07:00
2016-10-07 10:40:41 +02:00
2016-08-01 17:03:06 -07:00
2017-06-07 16:24:28 -07:00
2016-09-07 16:36:00 +02:00
2017-03-13 19:11:53 +01:00
2017-05-05 09:29:30 +02:00
2017-03-07 10:54:42 +01:00
2016-07-13 14:02:05 -07:00
2017-06-27 16:20:33 -07:00
2017-02-28 10:48:35 -08:00
2017-05-05 09:29:29 +02:00
2017-06-27 16:20:33 -07:00
2017-05-11 16:58:54 -06:00
2017-05-11 18:05:12 +02:00
2017-05-05 09:29:29 +02:00
2017-05-05 09:29:28 +02:00
2017-01-18 11:34:59 -07:00
2014-09-19 16:24:13 -06:00
2017-03-28 13:35:35 +02:00
2017-05-05 09:29:29 +02:00
2017-05-05 09:29:28 +02:00
2017-03-14 13:50:22 +01:00
2017-08-12 15:00:44 -07:00
2017-03-28 10:22:29 +02:00
2015-09-22 10:37:14 -06:00
2017-02-28 09:34:55 +01:00
2017-05-03 14:21:24 +02:00
2017-08-18 09:48:53 -04:00
2016-09-26 20:52:13 +03:00
2015-07-17 17:42:53 -07:00
2016-10-12 12:09:28 +02:00
2017-05-03 14:21:24 +02:00
2017-05-12 10:11:58 +02:00
2017-05-17 21:08:11 +02:00
2017-05-03 14:21:23 +02:00
2017-04-06 16:44:44 -07:00
2017-06-27 16:20:33 -07:00
2017-05-25 08:51:22 -04:00
2017-06-08 17:25:31 -07:00
2017-05-16 14:39:47 +02:00
2015-06-09 09:36:58 -07:00
2017-08-24 16:15:06 +02:00
2017-08-20 19:55:00 -07:00
2017-06-27 16:20:33 -07:00
2017-06-27 16:20:33 -07:00
2017-08-18 15:02:34 -04:00
2017-08-22 18:16:16 -04:00
2017-04-06 17:26:35 -06:00
2016-12-02 20:09:20 +01:00
2017-03-07 11:02:40 +01:00
2016-07-13 14:02:05 -07:00
2015-12-11 10:21:46 +08:00
2017-03-10 10:37:50 -08:00
2016-07-11 13:51:08 -07:00
2016-09-26 20:52:13 +03:00
2017-06-27 16:20:33 -07:00
2015-05-21 19:56:52 +02:00
2017-04-04 13:45:14 -07:00
2016-03-23 12:11:27 +01:00
2017-03-10 16:48:00 +01:00
2016-10-07 10:40:41 +02:00
2017-05-11 19:13:06 +02:00
2017-05-22 16:42:03 -07:00
2017-08-30 17:11:40 +02:00
2017-05-05 09:30:08 +02:00
2017-03-26 19:46:43 +11:00
2017-08-15 12:22:59 +02:00
2016-03-18 18:30:35 +01:00
2017-03-14 13:50:22 +01:00
2017-03-28 11:47:45 +02:00
2017-06-26 16:34:33 +02:00
2016-07-27 14:09:17 -07:00
2016-09-26 20:52:13 +03:00
2017-05-10 17:54:14 +02:00
2017-05-10 18:48:18 +02:00
2017-08-17 14:28:30 +02:00
2016-12-22 16:39:40 -08:00
2017-08-20 19:55:00 -07:00
2016-09-09 13:45:33 -07:00
2016-11-24 10:39:16 -07:00
2017-05-03 14:21:24 +02:00
2017-05-31 17:46:04 -07:00
2016-08-01 17:03:06 -07:00
2017-06-07 11:23:50 -04:00
2017-08-20 19:55:00 -07:00
2017-08-10 13:24:46 -04:00