Skip to content

Commit

Permalink
Control; remove initial resize/move stuff, doesn't belong
Browse files Browse the repository at this point in the history
  • Loading branch information
ruby0x1 committed Jul 26, 2015
1 parent a3c0d09 commit 7004d9b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mint/Control.hx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ typedef ControlOptions = {
/** Whether or not the control emits render signals from the canvas render call */
@:optional var renderable: Bool;

/** Whether or not the control is moveable (draggable). */
@:optional var moveable: Bool;
/** Whether or not the control is resizable. */
@:optional var resizable: Bool;

/** The render service that provides this instance with an implementation.
Defaults to using the owning canvas render service if not specified */
@:optional var rendering: Rendering;
Expand Down Expand Up @@ -120,10 +115,6 @@ class Control {
public var key_input : Bool = false;
//if the control emits a render signal
public var renderable : Bool = false;
//if the control is moveable (draggable)
public var moveable : Bool = false;
//if the control is resizable
public var resizable : Bool = false;

//if the control is visible
@:isVar public var visible (default, set) : Bool = true;
Expand Down Expand Up @@ -206,8 +197,6 @@ class Control {

mouse_input = def(_options_.mouse_input, false);
key_input = def(_options_.key_input, false);
resizable = def(_options_.resizable, false);
moveable = def(_options_.moveable, false);

children_bounds = {
x:0,
Expand Down

0 comments on commit 7004d9b

Please sign in to comment.