Skip to content

Commit 85d1f94

Browse files
authored
Merge pull request livecode#7253 from livecode/bugfix-22533
[[ Bug 22533 ]] Add support for layerClipRect to widgets
2 parents 0118258 + 3805d0e commit 85d1f94

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/notes/bugfix-22533.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Add support for the layerClipRect property to widgets
2+

engine/src/widget.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@ bool MCWidget::getprop(MCExecContext& ctxt, uint32_t p_part_id, Properties p_whi
461461
case P_RECTANGLE:
462462
case P_TOOL_TIP:
463463
case P_UNICODE_TOOL_TIP:
464-
case P_LAYER_MODE:
464+
case P_LAYER_MODE:
465+
case P_LAYER_CLIP_RECT:
465466

466467
// Development mode only
467468
case P_REV_AVAILABLE_HANDLERS:
@@ -570,6 +571,7 @@ bool MCWidget::setprop(MCExecContext& ctxt, uint32_t p_part_id, Properties p_whi
570571
case P_LAYER_MODE:
571572
case P_ENABLED:
572573
case P_DISABLED:
574+
case P_LAYER_CLIP_RECT:
573575

574576
case P_KIND:
575577
case P_THEME_CONTROL_TYPE:

0 commit comments

Comments
 (0)