|
@@ -146,7 +146,6 @@ class _LeftSiderTabBarState extends State<_LeftSiderTabBar>
|
|
|
Future.delayed(const Duration(milliseconds: 500), () {
|
|
|
application = Get.find<IApplication>();
|
|
|
if (application.isSingleFrame) {
|
|
|
- print(application.visuals);
|
|
|
if (application.visuals.length > 1) {
|
|
|
tabs = [i18nBook.measure.annotationTool.t]
|
|
|
.map((e) => Center(child: Tab(text: e)))
|
|
@@ -172,7 +171,6 @@ class _LeftSiderTabBarState extends State<_LeftSiderTabBar>
|
|
|
|
|
|
void onImageLoaded(Object sender, ExamImageInfo? e) {
|
|
|
if (!mounted) return;
|
|
|
- print('change image');
|
|
|
initTab();
|
|
|
}
|
|
|
|
|
@@ -180,7 +178,6 @@ class _LeftSiderTabBarState extends State<_LeftSiderTabBar>
|
|
|
Future.delayed(const Duration(milliseconds: 300), () {
|
|
|
application = Get.find<IApplication>();
|
|
|
if (application.canMeasure) {
|
|
|
- print(application.visuals.length);
|
|
|
if (application.visuals.length > 1) {
|
|
|
tabs = [i18nBook.measure.annotationTool.t]
|
|
|
.map((e) => Center(child: Tab(text: e)))
|
|
@@ -227,9 +224,7 @@ class _LeftSiderTabBarState extends State<_LeftSiderTabBar>
|
|
|
onTap: (int index) {
|
|
|
try {
|
|
|
measureHandler.changedTab = TagEnum.values[index];
|
|
|
- } catch (e) {
|
|
|
- print(e);
|
|
|
- }
|
|
|
+ } catch (e) {}
|
|
|
},
|
|
|
tabs: tabs,
|
|
|
controller: tabController,
|