mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Clear erroneous comment. Improve inline comments.
This commit is contained in:
@ -3,7 +3,7 @@ import contentView = require("ui/content-view");
|
|||||||
import viewModule = require("ui/core/view");
|
import viewModule = require("ui/core/view");
|
||||||
import utils = require("utils/utils");
|
import utils = require("utils/utils");
|
||||||
|
|
||||||
//@Deprecated
|
@Deprecated
|
||||||
export class Border extends contentView.ContentView implements definition.Border {
|
export class Border extends contentView.ContentView implements definition.Border {
|
||||||
get cornerRadius(): number {
|
get cornerRadius(): number {
|
||||||
return this.borderRadius;
|
return this.borderRadius;
|
||||||
|
@ -69,7 +69,7 @@ export class Frame extends frameCommon.Frame {
|
|||||||
|
|
||||||
var newController: UIViewController = backstackEntry.resolvedPage.ios;
|
var newController: UIViewController = backstackEntry.resolvedPage.ios;
|
||||||
|
|
||||||
// the code below fixes a phantom animation that appears in this case
|
// the code below fixes a phantom animation that appears on the Back button in this case
|
||||||
// TODO: investigate why the animation happens at first place before working around it
|
// TODO: investigate why the animation happens at first place before working around it
|
||||||
newController.navigationItem.hidesBackButton = this.backStack.length === 0;
|
newController.navigationItem.hidesBackButton = this.backStack.length === 0;
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ export class Frame extends frameCommon.Frame {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return !!newValue;
|
return newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public get ios(): definition.iOSFrame {
|
public get ios(): definition.iOSFrame {
|
||||||
|
Reference in New Issue
Block a user