Browse Source

Selector Panel Links to Docs

Guide 7 năm trước cách đây
mục cha
commit
3d50b2a709
2 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 1 1
      dist/preview release/what's new.md
  2. 3 1
      gui/src/2D/controls/selector.ts

+ 1 - 1
dist/preview release/what's new.md

@@ -6,7 +6,7 @@
   - New GUI 3D controls toolset. [Complete doc + demos](http://doc.babylonjs.com/how_to/gui3d) ([Deltakosh](https://github.com/deltakosh))
   - New GUI control: [Grid](http://doc.babylonjs.com/how_to/gui#grid) ([Deltakosh](https://github.com/deltakosh))
   - New GUI control: [InputPassword](https://doc.babylonjs.com/how_to/gui#inputpassword) ([theom](https://github.com/theom))
-  -New GUI container SelectionPanel ([JohnK](https://github.com/BabylonJSGuide))
+  -New GUI container [SelectionPanel](http://doc.babylonjs.com/how_to/selector) ([JohnK](https://github.com/BabylonJSGuide))
 - Gizmo Support ([TrevorDev](https://github.com/TrevorDev))
   - Gizmo and GizmoManager classes used to manipulate meshes in a scene. Gizmo types include: position, scale, rotation and bounding box. [Doc](http://doc.babylonjs.com/how_to/gizmo) ([TrevorDev](https://github.com/TrevorDev))
   - New behaviors: PointerDragBehavior, SixDofDragBehavior and MultiPointerScaleBehavior to enable smooth drag and drop/scaling with mouse or 6dof controller on a mesh. [Doc](http://doc.babylonjs.com/how_to/meshbehavior) ([TrevorDev](https://github.com/TrevorDev))

+ 3 - 1
gui/src/2D/controls/selector.ts

@@ -278,7 +278,9 @@ export class SliderGroup extends SelectorGroup{
 }
 
 
-/** Class used to hold the controls for the checkboxes, radio buttons and sliders */
+/** Class used to hold the controls for the checkboxes, radio buttons and sliders 
+ * @see http://doc.babylonjs.com/how_to/selector
+*/
 export class SelectionPanel extends Rectangle {
     private _panel: StackPanel;
     private _buttonColor: string = "#364249";