From 086fca9229a2fea230c5dd2e8daf1d10a523b144 Mon Sep 17 00:00:00 2001 From: akurasov <86794754+akurasov@users.noreply.github.com> Date: Fri, 13 Aug 2021 13:56:34 +0300 Subject: [PATCH] Small fixes for Context Menu tutorial (#1051) --- FEATURES.md | 3 ++- tutorials/{ContextMenu => Context_Menu}/README.md | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename tutorials/{ContextMenu => Context_Menu}/README.md (92%) diff --git a/FEATURES.md b/FEATURES.md index 6f736b1c0a..737a4c81f1 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -18,6 +18,7 @@ * [Keyboard navigation](tutorials/Tab_Navigation/README.md) * [Tray, menu bar and notifications](tutorials/Tray_Notifications_MenuBar_new/README.md) * [Window properties handling](tutorials/Window_API_new/README.md) + * [Context Menu](tutorials/Context_Menu/README.md) ### Features currently available in Compose for Web * [Intro](tutorials/Web/Building_UI/README.md) @@ -42,4 +43,4 @@ Following limitations apply to Alpha release. * M1 works only with Gradle 6.4 and 6.5; * M2 works only with Gradle 6.4 or later (6.7 is the latest tested version). * M3 works only with Gradle 6.4 or later (6.8 is the latest tested version). -* Alpha works with Gralde 6.7 or later (7.1 is the latest tested version). +* Alpha works with Gradle 6.7 or later (7.1 is the latest tested version). diff --git a/tutorials/ContextMenu/README.md b/tutorials/Context_Menu/README.md similarity index 92% rename from tutorials/ContextMenu/README.md rename to tutorials/Context_Menu/README.md index 728662bedd..f0c2bb2696 100644 --- a/tutorials/ContextMenu/README.md +++ b/tutorials/Context_Menu/README.md @@ -75,8 +75,8 @@ fun main() = singleWindowApplication(title = "Context menu") { ``` In this example Text/TextField context menus will be extended with two additional items. -## Context menu for arbitary area -There is possibility to create a context menu for arbitary application window area. This is implemented using ContextMenuArea API that is +## Context menu for an arbitary area +There is a possibility to create a context menu for an arbitary application window area. This is implemented using ContextMenuArea API that is similar to ContextMenuDataProvider. ```kotlin @OptIn(ExperimentalComposeUiApi::class, androidx.compose.foundation.ExperimentalFoundationApi::class) @@ -94,4 +94,4 @@ fun main() = singleWindowApplication(title = "Context menu") { } } ``` -Right click on the Blue Square will show context menu with two items +Right click on the Blue Square will show a context menu with two items