Oklahoma non-resident

I worked in Oklahoma for 3 days in 2019 as a non-resident.  I am retired and drawing a pension earned in Illinois.  It looks like I have to pay taxes on part of my pension along with the actual pay I received while in Oklahoma and traveling to and from Oklahoma.  Can anyone verify if that is correct?