From 0cc48076c7f3477163b152e1d6945a62ac7673fb Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 25 Aug 2022 10:29:28 +0100 Subject: [PATCH] rephrase --- docs/events/mouse_down.md | 4 ++-- docs/events/mouse_move.md | 5 +++-- docs/events/mouse_up.md | 5 +++-- docs/guide/CSS.md | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/events/mouse_down.md b/docs/events/mouse_down.md index c39b2e853..8cfda384c 100644 --- a/docs/events/mouse_down.md +++ b/docs/events/mouse_down.md @@ -11,10 +11,10 @@ The `MouseDown` event is sent to a widget when a mouse button is pressed. | `x` | int | Mouse x coordinate, relative to Widget | | `y` | int | Mouse y coordinate, relative to Widget | | `delta_x` | int | Change in x since last mouse event | -| `delta_y` | int | Change in x since last mouse event | +| `delta_y` | int | Change in y since last mouse event | | `button` | int | Index of mouse button | | `shift` | bool | Shift key pressed if True | | `meta` | bool | Meta key pressed if True | -| `ctrl` | bool | Shift key pressed if True | +| `ctrl` | bool | Ctrl key pressed if True | | `screen_x` | int | Mouse x coordinate relative to the screen | | `screen_y` | int | Mouse y coordinate relative to the screen | diff --git a/docs/events/mouse_move.md b/docs/events/mouse_move.md index 765f2f64d..21cc56bce 100644 --- a/docs/events/mouse_move.md +++ b/docs/events/mouse_move.md @@ -11,10 +11,11 @@ The `MouseMove` event is sent to a widget when the mouse pointer is moved over a | `x` | int | Mouse x coordinate, relative to Widget | | `y` | int | Mouse y coordinate, relative to Widget | | `delta_x` | int | Change in x since last mouse event | -| `delta_y` | int | Change in x since last mouse event | +| `delta_y` | int | Change in y since last mouse event | | `button` | int | Index of mouse button | | `shift` | bool | Shift key pressed if True | | `meta` | bool | Meta key pressed if True | -| `ctrl` | bool | Shift key pressed if True | +| `ctrl` | bool | Ctrl key pressed if True | | `screen_x` | int | Mouse x coordinate relative to the screen | | `screen_y` | int | Mouse y coordinate relative to the screen | + diff --git a/docs/events/mouse_up.md b/docs/events/mouse_up.md index a19dcf4bd..656f3fde2 100644 --- a/docs/events/mouse_up.md +++ b/docs/events/mouse_up.md @@ -11,10 +11,11 @@ The `MouseUp` event is sent to a widget when the user releases a mouse button. | `x` | int | Mouse x coordinate, relative to Widget | | `y` | int | Mouse y coordinate, relative to Widget | | `delta_x` | int | Change in x since last mouse event | -| `delta_y` | int | Change in x since last mouse event | +| `delta_y` | int | Change in y since last mouse event | | `button` | int | Index of mouse button | | `shift` | bool | Shift key pressed if True | | `meta` | bool | Meta key pressed if True | -| `ctrl` | bool | Shift key pressed if True | +| `ctrl` | bool | Ctrl key pressed if True | | `screen_x` | int | Mouse x coordinate relative to the screen | | `screen_y` | int | Mouse y coordinate relative to the screen | + diff --git a/docs/guide/CSS.md b/docs/guide/CSS.md index 4bb1ea910..7742191fd 100644 --- a/docs/guide/CSS.md +++ b/docs/guide/CSS.md @@ -60,7 +60,7 @@ You may be able to guess what some of the the other rules do. We will cover thos ## The DOM -The DOM, or _Document Object Model_, is a term borrowed from the web world. Textual doesn't use documents but the term has stuck. In Textual CSS, the DOM is a an arrangement of widgets that forms a tree of sorts. +The DOM, or _Document Object Model_, is a term borrowed from the web world. Textual doesn't use documents but the term has stuck. In Textual CSS, the DOM is a an arrangement of widgets you can visualize as a tree-like structure. Some widgets contain other widgets: for instance, a list control widget will likely also have item widgets, or a dialog widget may contain button widgets. These _child_ widgets form the branches of the tree.