Skip to content

Commit 77358a3

Browse files
committed
Fix layout of slider options editor
1 parent 3f5f3ac commit 77358a3

File tree

3 files changed

+40
-13
lines changed

3 files changed

+40
-13
lines changed

Showcase/Slider.Designer.cs

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/UI/Windows/SliderOptionEditor.Designer.cs

Lines changed: 15 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ViewFactory.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,7 @@ public static T Create<T>(int? width = null, int? height = null, string? text =
267267
case null:
268268
throw new InvalidOperationException( $"Unexpected null result from type {typeof( T ).Name} constructor." );
269269
}
270-
271-
// Almost universally all user controlled views are going to want this.
272-
newView.CanFocus = true;
273-
270+
274271
return newView;
275272

276273
static void SetDefaultDimensions( T v, int width = 5, int height = 1 )

0 commit comments

Comments
 (0)