Changes between Version 1 and Version 2 of Ticket #19342
- Timestamp:
- Jan 7, 2025, 1:18:41 PM (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19342 – Description
v1 v2 1 1 The Transformer->Remove menu item should ideally be disabled when no transformer is selected, similar to how Shape->Remove, Style->Remove, and Path->Remove function when no shape/style/path is selected. 2 2 3 Note: The Transformer menu will be disabled until you create a shape. Try Shape->Add empty, then you should be able to access the Transformer menu. 3 Note 1: The Remove menu item was added in [https://cgit.haiku-os.org/haiku/commit/?id=3aa371a2852fe031e6aa4cdf7db1cb56c931b9bb hrev58502]. It won't be available in R1/beta5. You'll need to be on the nightlies to see it. 4 5 Note 2: The Transformer menu will be disabled until you create a shape. Try Shape->Add empty, then you should be able to access the Transformer menu. 4 6 5 7 Since I'm marking this as easy, here's a hint to get you started: StyleListView::_UpdateMenu() is where the style list enables/disables the Style->Remove menu item. You'll need to update TransformerListView::_UpdateMenu() to do something similar. 6 7 This option was introduced in hrev58502 (https://cgit.haiku-os.org/haiku/commit/?id=3aa371a2852fe031e6aa4cdf7db1cb56c931b9bb)