From 5a85cd2aa1099453802bae947b2cc5a3d423d0cc Mon Sep 17 00:00:00 2001 From: Tristan Strathearn Date: Thu, 31 Mar 2022 20:38:04 +1000 Subject: [PATCH] chore: hide YouTube channel documentation while under development --- interface/main_ui_panel.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/interface/main_ui_panel.py b/interface/main_ui_panel.py index 2f5cbbe..b1c5978 100644 --- a/interface/main_ui_panel.py +++ b/interface/main_ui_panel.py @@ -27,9 +27,10 @@ def draw(self, context): column = box.column() row = column.row(align=True) - row.scale_y = 1.5 - row.operator("wm.url_open", text="Website", icon='HOME').url = "https://docs.nd.hugemenace.co" - row.operator("wm.url_open", text="YouTube", icon='FILE_MOVIE').url = "https://www.youtube.com/watch?v=bg4qpt2hkHg&list=PLZmp_NXXf0kDj5wSa3VpftsNx62YNXEc6" + row.scale_y = 1.2 + row.operator("wm.url_open", text="View Online Docs", icon='HOME').url = "https://docs.nd.hugemenace.co" + # TODO: Re-enable this when the YouTube channel is ready + # row.operator("wm.url_open", text="YouTube", icon='FILE_MOVIE').url = "https://www.youtube.com/watch?v=bg4qpt2hkHg&list=PLZmp_NXXf0kDj5wSa3VpftsNx62YNXEc6" box = layout.box() box.label(text="Sketching", icon='GREASEPENCIL')