Revision: 4712
http://sourceforge.net/p/vexi/code/4712
Author: clrg
Date: 2014-08-04 23:57:25 +0000 (Mon, 04 Aug 2014)
Log Message:
-----------
Fix r4707 visible logic update - ?: was the wrong way around
Revision Links:
--------------
http://sourceforge.net/p/vexi/code/4707
Modified Paths:
--------------
branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
Modified: branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
===================================================================
--- branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
2014-07-31 21:50:12 UTC (rev 4711)
+++ branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
2014-08-04 23:57:25 UTC (rev 4712)
@@ -200,7 +200,7 @@
private static final int localToGlobalY(Box b, int y) { return
b.parent==null ? y : localToGlobalY(b.parent, y + getYInParent(b)); }
// useful debugging reflow problems
- //private static final int depth(Box b) { return b.parent==null ? 0 :
depth(b.parent)+1; }
+ private static final int depth(Box b) { return b.parent==null ? 0 :
depth(b.parent)+1; }
private static final int min(int a, int b) { return (a<b) ? a : b; }
private static final int max(int a, int b) { return (a>b) ? a : b; }
@@ -2559,8 +2559,8 @@
// REMARK visible is only relevant if the parent is visible
(impossible
// to change visible state if parent.visible == false as
box.visible is
// always be false) or if this box is attached to a surface
- WriteTrapChain trapchain = (parent!=null &&
parent.get(SC_visible) == JSU.T) || (parent==null && getSurface()!=null)
- ? null : fireVisibleTraps(set_display);
+ WriteTrapChain trapchain = (parent!=null &&
(parent.get(SC_visible) == JSU.T)) || (parent==null && getSurface()!=null)
+ ? fireVisibleTraps(set_display) : null;
if (set_display) {
set(DISPLAY);
requestReflow();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn